/* ============================================================
   TERRITORY OF QUALITY — PREMIUM REDESIGN 2026
   A complete visual layer over the existing functional site.
   ============================================================ */

:root {
    --bg-primary: #f7f5ef;
    --bg-secondary: #eef3ef;
    --bg-card: #ffffff;
    --text-primary: #14241f;
    --text-secondary: #5c6c66;
    --text-muted: #86938e;
    --accent: #19845e;
    --accent-light: #39ad7c;
    --accent-dark: #0b503c;
    --accent-soft: #e6f4ed;
    --cream: #f3eadb;
    --ink: #10231e;
    --line: rgba(20, 51, 42, .11);
    --border: rgba(20, 51, 42, .11);
    --border-hover: rgba(25, 132, 94, .35);
    --shadow-card: 0 24px 70px rgba(18, 55, 44, .09);
    --shadow-card-hover: 0 34px 90px rgba(18, 55, 44, .16);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 36px;
    --ease-out: cubic-bezier(.2, .8, .2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text-primary);
    background:
        radial-gradient(circle at 8% 24%, rgba(60, 174, 126, .10), transparent 28rem),
        radial-gradient(circle at 92% 68%, rgba(223, 188, 119, .13), transparent 30rem),
        var(--bg-primary);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .22;
    background-image: radial-gradient(rgba(17, 54, 43, .35) .55px, transparent .55px);
    background-size: 18px 18px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(57, 173, 124, .42);
    outline-offset: 4px;
}

.container {
    width: min(1240px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* ---------- Floating navigation ---------- */
.navbar {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 1000;
    width: min(1240px, calc(100% - 40px));
    height: 76px;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 24px;
    background: rgba(250, 250, 247, .78);
    box-shadow: 0 18px 50px rgba(13, 42, 34, .12);
    backdrop-filter: blur(22px) saturate(150%);
    transition: top .3s ease, background .3s ease, box-shadow .3s ease;
}

.navbar.scrolled {
    top: 10px;
    background: rgba(255, 255, 252, .94);
    box-shadow: 0 16px 48px rgba(13, 42, 34, .16);
}

.nav-container {
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 0 18px 0 22px;
    gap: 24px;
}

.nav-logo {
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
}

.nav-logo .logo-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(145deg, var(--accent-light), var(--accent-dark));
    box-shadow: 0 10px 24px rgba(25, 132, 94, .24);
}

.nav-logo .logo-text {
    max-width: 260px;
    overflow: hidden;
    font-family: "Onest", sans-serif;
    font-size: .94rem;
    font-weight: 800;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-links {
    gap: 6px;
    padding: 5px;
    border-radius: 16px;
    background: rgba(18, 59, 47, .045);
}

.nav-links a {
    display: block;
    padding: 10px 15px;
    border-radius: 12px;
    color: #4d615a;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.nav-links a:hover {
    color: var(--accent-dark);
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 7px 18px rgba(15, 53, 42, .08);
}

.language-switcher {
    gap: 3px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.lang-button {
    min-width: 36px;
    height: 32px;
    padding: 0 8px;
    border: 0;
    border-radius: 10px;
    color: #7a8b85;
    background: transparent;
    font-size: .72rem;
    font-weight: 800;
    transition: .25s ease;
}

.lang-button.active {
    color: #fff;
    background: var(--ink);
    box-shadow: 0 7px 15px rgba(16, 35, 30, .2);
}

.nav-toggle {
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 0;
    border-radius: 14px;
    background: var(--ink);
}

.nav-toggle span {
    height: 2px;
    border-radius: 99px;
    background: #fff;
}

/* ---------- Premium side drawer ---------- */
.drawer-backdrop {
    background: rgba(8, 24, 19, .46);
    backdrop-filter: blur(7px);
}

.site-drawer {
    width: min(410px, calc(100% - 22px));
    padding: 24px;
    border-left: 1px solid rgba(255, 255, 255, .7);
    background: rgba(249, 250, 246, .96);
    box-shadow: -24px 0 90px rgba(8, 37, 27, .25);
    backdrop-filter: blur(24px);
}

.drawer-header {
    padding: 2px 2px 22px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: "Onest", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.drawer-close {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    color: var(--ink);
    background: #fff;
}

.drawer-links {
    gap: 8px;
    padding-top: 18px;
}

.drawer-links > a,
.drawer-register-btn {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: #253b34;
    background: transparent;
    font-size: .94rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    transition: .22s ease;
}

.drawer-links > a:hover,
.drawer-register-btn:hover {
    border-color: rgba(25, 132, 94, .13);
    color: var(--accent-dark);
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 55, 43, .08);
    transform: translateX(4px);
}

.drawer-register-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 14px 30px rgba(25, 132, 94, .2);
}

.drawer-register-btn:hover {
    color: #fff;
    background: linear-gradient(135deg, #20976d, #0b4a38);
}

.drawer-register-panel {
    padding-inline: 5px;
}

.drawer-register-option {
    display: flex;
    min-height: 54px;
    align-items: center;
    margin: 8px 0 0;
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--accent-dark);
    background: #fff;
    font-size: .84rem;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(16, 55, 43, .06);
}

.drawer-languages {
    margin-top: auto;
    padding: 20px 2px 2px;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 880px;
    margin: 0 auto;
    padding: 124px 28px 38px;
    overflow: hidden;
    border-radius: 0 0 54px 54px;
    background: #102d24;
}

.hero-bg {
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.82) contrast(1.02);
    transform: scale(1.02);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(10, 38, 29, .94) 0%, rgba(10, 38, 29, .78) 35%, rgba(10, 38, 29, .22) 68%, rgba(10, 38, 29, .08) 100%),
        linear-gradient(0deg, rgba(10, 38, 29, .48) 0%, transparent 45%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    border-radius: 999px;
    pointer-events: none;
}

.hero::before {
    top: 150px;
    right: 8%;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: inset 0 0 90px rgba(232, 255, 241, .12);
}

.hero::after {
    bottom: -180px;
    left: 26%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(91, 203, 151, .18), transparent 68%);
}

.hero-wrapper {
    position: relative;
    z-index: 3;
    display: grid;
    width: min(1240px, 100%);
    min-height: 710px;
    margin: 0 auto;
    padding: 40px 18px 0;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    align-items: center;
    gap: 50px;
}

.hero-content {
    max-width: 720px;
    padding: 36px 0 70px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: #d9f8e9;
    background: rgba(255, 255, 255, .10);
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .035em;
    backdrop-filter: blur(12px);
}

.hero-title {
    max-width: 760px;
    margin: 0 0 26px;
    color: #fff;
    font-family: "Onest", sans-serif;
    font-size: clamp(3.2rem, 5.7vw, 6.35rem);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -.065em;
    text-wrap: balance;
}

.hero-highlight {
    display: inline;
    color: #9de5bf;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hero-subtitle {
    max-width: 660px;
    margin: 0 0 34px;
    color: rgba(243, 252, 247, .78);
    font-size: clamp(1rem, 1.3vw, 1.16rem);
    font-weight: 500;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 15px;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .25s var(--ease-out), box-shadow .25s ease, background .25s ease;
}

.hero-buttons .btn-outline {
    min-height: 58px;
    padding: 0 26px;
    border: 1px solid rgba(255, 255, 255, .26);
    color: #0d3729;
    background: #fff;
    box-shadow: 0 18px 40px rgba(3, 20, 14, .22);
}

.hero-buttons .btn-outline:hover {
    color: #fff;
    border-color: #4cc28a;
    background: #19845e;
    box-shadow: 0 22px 50px rgba(18, 113, 78, .32);
    transform: translateY(-4px);
}

.hero-doctor-wrap {
    --doctor-x: 0px;
    --doctor-y: 0px;
    align-self: end;
    justify-self: center;
    transform: translate3d(var(--doctor-x), var(--doctor-y), 0);
    transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}

.hero-doctor-card {
    position: relative;
    width: min(440px, 38vw);
    height: 650px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
    transform: none;
}

.hero-doctor-card::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 9%;
    width: 112%;
    height: 72%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(159, 234, 194, .27) 0%, rgba(80, 175, 130, .10) 42%, transparent 72%);
    filter: blur(22px);
    transform: translateX(-50%);
    animation: doctorAura 5.5s ease-in-out infinite;
}

.hero-doctor-card:hover {
    transform: none;
}

.hero-doctor-img {
    position: absolute;
    left: 50%;
    bottom: 42px;
    width: 115%;
    max-width: none;
    height: 106%;
    object-fit: contain;
    object-position: bottom;
    transform: translateX(-50%);
    filter: drop-shadow(0 28px 28px rgba(3, 26, 17, .28));
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 79%, rgba(0, 0, 0, .94) 84%, rgba(0, 0, 0, .45) 93%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 79%, rgba(0, 0, 0, .94) 84%, rgba(0, 0, 0, .45) 93%, transparent 100%);
    animation: doctorFloat 5.8s ease-in-out infinite;
}

.doctor-badge {
    left: 50%;
    right: auto;
    bottom: 0;
    z-index: 6;
    min-width: 220px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 20px 50px rgba(3, 27, 18, .23);
    transform: translateX(-50%);
    backdrop-filter: blur(18px);
}

/* ---------- Shared section typography ---------- */
.nutrilite-section,
.categories,
.why-me,
.contact-section {
    position: relative;
    isolation: isolate;
}

.section-header {
    max-width: 780px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-title {
    margin: 0 0 18px;
    color: var(--ink);
    font-family: "Onest", sans-serif;
    font-size: clamp(2.35rem, 4.4vw, 4.8rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.section-desc {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.04rem;
    line-height: 1.7;
}

.nutrilite-section > .container > .section-header > .section-tag,
.why-me > .container > .section-header > .section-tag,
.contact-info > .section-tag {
    display: none;
}

/* ---------- Expert / Nutrilite ---------- */
.nutrilite-section {
    padding: 130px 0;
    background:
        radial-gradient(circle at 14% 14%, rgba(70, 175, 126, .13), transparent 24rem),
        linear-gradient(180deg, #f8f7f2, #eef4ef);
}

.nutrilite-section::before {
    content: "NUTRILITE";
    position: absolute;
    top: 62px;
    left: 50%;
    z-index: -1;
    color: rgba(18, 70, 53, .035);
    font-family: "Onest", sans-serif;
    font-size: clamp(5rem, 15vw, 13rem);
    font-weight: 900;
    letter-spacing: -.08em;
    transform: translateX(-50%);
    white-space: nowrap;
}

.nutrilite-content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 24px;
    align-items: stretch;
}

.nutrilite-block {
    position: relative;
    min-height: 540px;
    padding: 52px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 36px;
    color: #fff;
    background:
        radial-gradient(circle at 84% 10%, rgba(112, 224, 164, .28), transparent 20rem),
        linear-gradient(145deg, #153f31, #08251d 80%);
    box-shadow: 0 34px 90px rgba(12, 57, 42, .2);
    text-align: left;
}

.nutrilite-block::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255, 255, 255, .025), 0 0 0 88px rgba(255, 255, 255, .018);
}

.nutrilite-icon-wrap {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 0 30px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 22px;
    color: #b5f1d0;
    background: rgba(255, 255, 255, .08);
    font-size: 1.7rem;
}

.hemoscan-badge {
    display: inline-flex;
    margin: 0 0 22px;
    padding: 9px 13px;
    border: 1px solid rgba(175, 239, 205, .24);
    border-radius: 999px;
    color: #b9f0d1;
    background: rgba(90, 190, 138, .13);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.nutrilite-block h3 {
    position: relative;
    z-index: 1;
    max-width: 570px;
    margin: 0 0 24px;
    color: #fff;
    font-family: "Onest", sans-serif;
    font-size: clamp(2rem, 3vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.nutrilite-block > p {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0;
    color: rgba(235, 249, 241, .72);
    font-size: 1rem;
    line-height: 1.78;
}

.nutrilite-features {
    display: grid;
    gap: 18px;
}

.nutri-feature {
    position: relative;
    display: grid;
    min-height: 160px;
    padding: 28px 30px;
    overflow: hidden;
    grid-template-columns: 76px 1fr;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(16, 70, 53, .1);
    border-radius: 26px;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 20px 54px rgba(17, 62, 48, .08);
    backdrop-filter: blur(12px);
    transition: .3s var(--ease-out);
}

.nutri-feature:hover {
    border-color: rgba(25, 132, 94, .28);
    box-shadow: 0 28px 65px rgba(17, 62, 48, .13);
    transform: translateX(7px);
}

.nutri-feature-num {
    color: rgba(25, 132, 94, .20);
    font-family: "Onest", sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -.07em;
}

.nutri-feature-body h4 {
    margin: 0 0 9px;
    color: var(--ink);
    font-size: 1.06rem;
    font-weight: 800;
}

.nutri-feature-body p {
    margin: 0;
    color: var(--text-secondary);
    font-size: .87rem;
    line-height: 1.58;
}

/* ---------- Product directions ---------- */
.categories {
    padding: 130px 0 145px;
    background: #fff;
}

.categories::before {
    content: "";
    position: absolute;
    top: 8%;
    right: -180px;
    z-index: -1;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(228, 202, 146, .16), transparent 70%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.category-card {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(17, 62, 48, .10);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(15, 51, 40, .08);
    cursor: default;
    transition: .4s var(--ease-out);
}

.category-card:hover {
    border-color: rgba(25, 132, 94, .28);
    box-shadow: 0 32px 75px rgba(15, 51, 40, .15);
    transform: translateY(-10px);
}

.card-image-wrap {
    height: 230px;
    margin: 8px 8px 0;
    overflow: hidden;
    border-radius: 21px;
    background: #f2f4f0;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease-out);
}

.category-card:hover .card-image {
    transform: scale(1.045);
}

.card-image-overlay {
    background: linear-gradient(to bottom, transparent 64%, rgba(255, 255, 255, .18));
}

#card-beauty .card-image-overlay,
#card-cookware .card-image-overlay {
    background: linear-gradient(to bottom, transparent 70%, rgba(255, 255, 255, .10));
}

.card-body {
    display: flex;
    min-width: 0;
    padding: 24px 22px 24px;
    flex: 1;
    flex-direction: column;
}

.card-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin: 0 0 18px;
    place-items: center;
    border-radius: 13px;
    color: var(--accent);
    background: var(--accent-soft);
    font-size: 1rem;
}

.card-body h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-family: "Onest", sans-serif;
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.03em;
}

.card-tag {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.card-desc {
    margin: 0 0 16px;
    color: var(--text-secondary);
    font-size: .81rem;
    line-height: 1.6;
}

.card-features {
    margin: 0 0 22px;
    padding: 0;
}

.card-features li {
    align-items: flex-start;
    gap: 8px;
    padding: 5px 0;
    color: #5d6e68;
    font-size: .75rem;
    line-height: 1.45;
}

.card-features li i {
    margin-top: 4px;
    color: var(--accent-light);
    font-size: .63rem;
}

.card-more-btn {
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    justify-content: center;
    align-self: stretch;
    border: 1px solid rgba(25, 132, 94, .20);
    border-radius: 14px;
    color: var(--accent-dark);
    background: #f1f8f4;
    box-shadow: none;
    font-size: .79rem;
}

.card-more-btn::after {
    content: "↗";
    margin-left: 9px;
    font-size: 1rem;
}

.card-more-btn:hover {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 14px 28px rgba(25, 132, 94, .22);
    transform: translateY(-2px);
}

/* ---------- Benefits ---------- */
.why-me {
    padding: 130px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 0%, rgba(87, 195, 143, .20), transparent 30rem),
        radial-gradient(circle at 92% 100%, rgba(215, 181, 112, .12), transparent 28rem),
        var(--ink);
}

.why-me .section-title {
    color: #fff;
}

.advantages-grid {
    display: grid;
    max-width: 1100px;
    margin-inline: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.advantage-card {
    min-height: 310px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 28px;
    color: #fff;
    background: rgba(255, 255, 255, .055);
    box-shadow: none;
    backdrop-filter: blur(12px);
    transition: .35s var(--ease-out);
}

.advantage-card:hover {
    border-color: rgba(153, 229, 189, .35);
    background: rgba(255, 255, 255, .085);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .18);
    transform: translateY(-8px);
}

.adv-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 0 58px;
    place-items: center;
    border: 1px solid rgba(179, 238, 207, .18);
    border-radius: 18px;
    color: #a5ecc7;
    background: rgba(94, 192, 143, .12);
    font-size: 1.2rem;
}

.advantage-card h4 {
    margin: 0 0 13px;
    color: #fff;
    font-family: "Onest", sans-serif;
    font-size: 1.15rem;
    line-height: 1.3;
    letter-spacing: -.025em;
}

.advantage-card p {
    margin: 0;
    color: rgba(234, 246, 239, .63);
    font-size: .88rem;
    line-height: 1.65;
}

/* ---------- Contact CTA ---------- */
.contact-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.contact-layout {
    display: block;
    overflow: hidden;
    border-radius: 40px;
    background:
        radial-gradient(circle at 90% 10%, rgba(141, 231, 183, .28), transparent 23rem),
        linear-gradient(135deg, #176c50, #0c3b2e 68%, #092c22);
    box-shadow: 0 36px 90px rgba(11, 67, 49, .22);
}

.contact-info {
    position: relative;
    max-width: none;
    padding: 76px 8%;
    text-align: left;
}

.contact-info::after {
    content: "✦";
    position: absolute;
    top: 50%;
    right: 9%;
    color: rgba(255, 255, 255, .12);
    font-size: clamp(8rem, 17vw, 14rem);
    line-height: 1;
    transform: translateY(-50%);
}

.contact-info .section-title {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 5rem);
    text-align: left;
}

.contact-text {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 0 32px;
    color: rgba(235, 249, 241, .72);
    font-size: 1.02rem;
    line-height: 1.72;
}

.contact-buttons {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
}

.btn-telegram {
    min-height: 58px;
    padding: 0 27px;
    border: 1px solid rgba(255, 255, 255, .75);
    color: var(--ink);
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 20, 13, .22);
}

.btn-telegram:hover {
    color: #fff;
    border-color: #229ed9;
    background: #229ed9;
    box-shadow: 0 22px 48px rgba(34, 158, 217, .28);
    transform: translateY(-4px);
}

.contact-trust {
    position: relative;
    z-index: 1;
    color: rgba(235, 249, 241, .55);
}

.trust-item i {
    color: #a7edc8;
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 0 0 28px;
    background: var(--bg-primary);
}

.site-footer .container {
    width: min(1240px, calc(100% - 48px));
    padding: 0;
    border-radius: 34px;
    background: #0b1d18;
}

.footer-content {
    padding: 58px 8% 28px;
}

.footer-brand {
    color: #fff;
    font-family: "Onest", sans-serif;
    font-size: 1.18rem;
}

.footer-brand .logo-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: #0b3024;
    background: #a4e9c4;
}

.footer-desc {
    max-width: 580px;
    color: rgba(235, 247, 240, .54);
    font-size: .87rem;
    line-height: 1.7;
}

.footer-links {
    gap: 8px;
}

.footer-links a {
    padding: 9px 13px;
    border-radius: 10px;
    color: rgba(235, 247, 240, .64);
    font-size: .78rem;
    font-weight: 700;
    transition: .2s ease;
}

.footer-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom p {
    color: rgba(235, 247, 240, .35);
    font-size: .72rem;
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-wrapper {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
        gap: 20px;
    }

    .hero-title {
        font-size: clamp(3.1rem, 7vw, 5.4rem);
    }

    .hero-doctor-card {
        width: min(390px, 39vw);
        height: 590px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .card-image-wrap {
        height: 270px;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 32px, 680px);
    }

    .navbar {
        top: 10px;
        width: calc(100% - 20px);
        height: 66px;
        border-radius: 20px;
    }

    .nav-container {
        padding-inline: 12px;
        gap: 10px;
    }

    .nav-logo .logo-text {
        display: none;
    }

    .nav-logo .logo-icon {
        width: 40px;
        height: 40px;
    }

    .hero {
        min-height: 980px;
        padding: 100px 16px 20px;
        border-radius: 0 0 38px 38px;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(8, 35, 26, .86) 0%, rgba(8, 35, 26, .70) 52%, rgba(8, 35, 26, .38) 100%),
            linear-gradient(90deg, rgba(8, 35, 26, .70), rgba(8, 35, 26, .15));
    }

    .hero::before {
        top: auto;
        right: -120px;
        bottom: 80px;
        width: 380px;
        height: 380px;
    }

    .hero-wrapper {
        display: flex;
        min-height: 850px;
        padding: 42px 8px 0;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-content {
        max-width: 640px;
        padding: 10px 0 20px;
        text-align: left;
    }

    .hero-badge {
        margin-bottom: 20px;
    }

    .hero-title {
        max-width: 650px;
        font-size: clamp(2.8rem, 11.7vw, 5.2rem);
        line-height: .99;
    }

    .hero-subtitle {
        max-width: 620px;
        font-size: .97rem;
        line-height: 1.66;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-doctor-wrap {
        width: 100%;
        margin-top: auto;
        align-self: center;
    }

    .hero-doctor-card {
        width: min(420px, 82vw);
        height: 440px;
        margin-inline: auto;
        border-radius: 210px 210px 32px 32px;
    }

    .hero-doctor-img {
        height: 112%;
    }

    .doctor-badge {
        bottom: 18px;
    }

    .nutrilite-section,
    .categories,
    .why-me,
    .contact-section {
        padding: 90px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(2.25rem, 8vw, 4rem);
    }

    .nutrilite-content {
        grid-template-columns: 1fr;
    }

    .nutrilite-block {
        min-height: auto;
        padding: 40px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage-card {
        min-height: 240px;
    }

    .adv-icon {
        margin-bottom: 38px;
    }

    .contact-info {
        padding: 60px 44px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 560px) {
    .container,
    .site-footer .container {
        width: calc(100% - 24px);
    }

    .navbar {
        height: 62px;
    }

    .nav-container {
        padding-inline: 9px;
    }

    .nav-logo .logo-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .language-switcher {
        margin-left: auto;
        padding: 3px;
        border-radius: 12px;
    }

    .lang-button {
        min-width: 32px;
        height: 30px;
        padding: 0 6px;
        border-radius: 9px;
        font-size: .67rem;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .site-drawer {
        width: calc(100% - 12px);
        padding: 20px 16px;
    }

    .hero {
        min-height: 920px;
        padding: 90px 12px 12px;
        border-radius: 0 0 30px 30px;
    }

    .hero-wrapper {
        min-height: 810px;
        padding-inline: 4px;
    }

    .hero-badge {
        padding: 8px 11px;
        font-size: .65rem;
    }

    .hero-title {
        margin-bottom: 20px;
        font-size: clamp(2.55rem, 12.8vw, 4rem);
        letter-spacing: -.058em;
    }

    .hero-subtitle {
        margin-bottom: 25px;
        font-size: .88rem;
    }

    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .hero-doctor-card {
        width: 94%;
        height: 390px;
    }

    .doctor-badge {
        min-width: 200px;
        padding: 12px 15px;
        font-size: .78rem;
    }

    .nutrilite-section,
    .categories,
    .why-me,
    .contact-section {
        padding: 76px 0;
    }

    .section-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .section-desc {
        font-size: .9rem;
    }

    .nutrilite-block {
        padding: 30px 24px 36px;
        border-radius: 26px;
    }

    .nutrilite-icon-wrap {
        width: 58px;
        height: 58px;
        margin-bottom: 22px;
        border-radius: 17px;
    }

    .nutrilite-block h3 {
        font-size: 1.72rem;
    }

    .nutrilite-block > p {
        font-size: .89rem;
        line-height: 1.68;
    }

    .nutri-feature {
        min-height: 150px;
        padding: 24px 20px;
        grid-template-columns: 52px 1fr;
        gap: 14px;
        border-radius: 22px;
    }

    .nutri-feature-num {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .category-card {
        border-radius: 24px;
    }

    .card-image-wrap {
        height: 230px;
        border-radius: 18px;
    }

    .card-body {
        padding: 23px 20px 22px;
    }

    .advantage-card {
        min-height: 225px;
        padding: 28px;
        border-radius: 24px;
    }

    .adv-icon {
        margin-bottom: 34px;
    }

    .contact-layout {
        border-radius: 28px;
    }

    .contact-info {
        padding: 48px 26px;
    }

    .contact-info .section-title {
        font-size: clamp(2.1rem, 10vw, 3.2rem);
    }

    .contact-text {
        font-size: .9rem;
    }

    .btn-telegram {
        width: 100%;
        justify-content: center;
        padding-inline: 18px;
    }

    .site-footer {
        padding-bottom: 12px;
    }

    .site-footer .container {
        border-radius: 26px;
    }

    .footer-content {
        padding: 42px 24px 22px;
    }

    .footer-links {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links a {
        text-align: center;
        background: rgba(255, 255, 255, .04);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Keep the expanding-circle treatment above the floating badge animation rules. */
.doctor-badge:hover {
    color: #fff !important;
    background-color: #142c25 !important;
    background-image: radial-gradient(circle at center, rgba(28, 190, 126, .84) 0 50%, transparent 51%) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 230% 230% !important;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16), 0 17px 34px rgba(12, 112, 76, .26) !important;
}

/* Visual fixes: seamless Nutrilite glow and uncropped Artistry branding. */
.nutrilite-block::before {
    inset: -24% !important;
    border-radius: 50%;
    background:
        radial-gradient(circle at 72% 28%, rgba(126, 237, 179, .22) 0, rgba(83, 194, 137, .10) 24%, transparent 54%) !important;
    filter: blur(32px);
    opacity: .82;
    animation: nutriAuraSoft 13s ease-in-out infinite !important;
}

.nutrilite-block.active {
    animation: nutriPanelEntrance 1.05s cubic-bezier(.16, 1, .3, 1) both,
               nutriPanelBreathSoft 6.5s ease-in-out 1.1s infinite !important;
}

@keyframes nutriAuraSoft {
    0%, 100% { transform: translate3d(-4%, 2%, 0) rotate(0deg) scale(1); }
    35% { transform: translate3d(5%, -3%, 0) rotate(120deg) scale(1.05); }
    70% { transform: translate3d(-1%, 5%, 0) rotate(245deg) scale(.98); }
}

@keyframes nutriPanelBreathSoft {
    0%, 100% { box-shadow: 0 26px 55px rgba(12, 57, 42, .18); }
    50% { box-shadow: 0 32px 70px rgba(12, 75, 52, .23), 0 0 0 1px rgba(128, 234, 179, .05); }
}

#card-beauty .card-image-wrap {
    isolation: isolate;
    background: linear-gradient(180deg, #e6f2f6 0%, #dcecf0 70%, #f3f6f5 100%);
}

#card-beauty .card-image {
    object-position: 28% 56% !important;
    transform: scale(1.06);
}

#card-beauty:hover .card-image {
    transform: scale(1.095);
}

#card-beauty .card-image-wrap::before {
    content: "ARTISTRY\A SKIN NUTRITION";
    position: absolute;
    top: 17px;
    left: 50%;
    z-index: 3;
    width: max-content;
    color: #303b3e;
    font-family: "Onest", Arial, sans-serif;
    font-size: clamp(1.3rem, 2.1vw, 2rem);
    font-weight: 350;
    line-height: .88;
    letter-spacing: .13em;
    text-align: center;
    white-space: pre;
    text-shadow: 0 1px 8px rgba(255, 255, 255, .82);
    transform: translateX(-50%);
    pointer-events: none;
}

#card-beauty .card-image-wrap::first-line {
    font-size: 1em;
}

@media (max-width: 560px) {
    #card-beauty .card-image {
        object-position: 27% 58% !important;
        transform: scale(1.12);
    }

    #card-beauty:hover .card-image {
        transform: scale(1.14);
    }

    #card-beauty .card-image-wrap::before {
        top: 15px;
        font-size: 1.38rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nutrilite-block::before,
    .nutrilite-block.active {
        animation: none !important;
    }
}

/* Expert button: its own glass row directly beneath the character. */
@property --expert-glass-angle {
    syntax: "<angle>";
    initial-value: -75deg;
    inherits: false;
}

.hero-doctor-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.hero-doctor-card {
    margin-bottom: 0 !important;
}

.hero-doctor-wrap > .doctor-badge {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: max-content !important;
    max-width: calc(100% - 24px) !important;
    min-height: 58px !important;
    margin: -27px auto 0 !important;
    padding: 0 28px !important;
    transform: none !important;
    translate: 0 0;
    overflow: visible !important;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, .78) !important;
    border-radius: 999px !important;
    color: #15372f !important;
    background-color: rgba(255, 255, 255, .50) !important;
    background-image:
        linear-gradient(-75deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .78) 48%, rgba(255, 255, 255, .18) 100%),
        linear-gradient(110deg, rgba(255, 255, 255, .58), rgba(224, 250, 241, .30)) !important;
    background-size: 200% 100%, 100% 100% !important;
    background-position: 100% 0, 0 0 !important;
    backdrop-filter: blur(18px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -1px 0 rgba(255, 255, 255, .40),
        inset 0 0 14px rgba(255, 255, 255, .32),
        0 15px 38px rgba(13, 74, 58, .20),
        0 3px 9px rgba(13, 74, 58, .10) !important;
    animation: expertBadgeFloat 4.5s ease-in-out infinite, expertGlassSweep 6s ease-in-out infinite !important;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, color .35s ease, --expert-glass-angle .55s ease !important;
    z-index: 12 !important;
}

.hero-doctor-wrap > .doctor-badge::before {
    content: "" !important;
    position: absolute !important;
    inset: 3px !important;
    border-radius: inherit !important;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, .72) 43%, transparent 68%) !important;
    background-size: 210% 100% !important;
    background-position: 120% 0 !important;
    opacity: .72 !important;
    mix-blend-mode: screen;
    z-index: -1 !important;
}

.hero-doctor-wrap > .doctor-badge::after {
    content: "" !important;
    position: absolute !important;
    inset: -2px !important;
    padding: 2px !important;
    border-radius: inherit !important;
    pointer-events: none;
    background: conic-gradient(from var(--expert-glass-angle), transparent 8%, rgba(255,255,255,.95) 19%, rgba(51,194,143,.68) 28%, transparent 42%, transparent 72%, rgba(255,255,255,.78) 88%, transparent) !important;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
    opacity: .95 !important;
    z-index: -2 !important;
}

.hero-doctor-wrap > .doctor-badge i,
.hero-doctor-wrap > .doctor-badge span {
    position: relative;
    z-index: 2;
}

.hero-doctor-wrap > .doctor-badge:hover {
    transform: scale(.975) !important;
    color: #0b6046 !important;
    background-color: rgba(255, 255, 255, .60) !important;
    background-image:
        linear-gradient(-75deg, rgba(255, 255, 255, .20) 0%, rgba(255, 255, 255, .94) 48%, rgba(255, 255, 255, .20) 100%),
        linear-gradient(110deg, rgba(255, 255, 255, .68), rgba(215, 250, 237, .42)) !important;
    background-size: 200% 100%, 100% 100% !important;
    box-shadow: inset 0 1px 0 #fff, inset 0 0 18px rgba(255,255,255,.58), 0 18px 42px rgba(13, 108, 78, .27) !important;
    --expert-glass-angle: 105deg;
}

.hero-doctor-wrap > .doctor-badge:active {
    transform: perspective(500px) rotateX(3deg) scale(.95) !important;
}

@keyframes expertBadgeFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}

@keyframes expertGlassSweep {
    0%, 18% { background-position: 115% 0, 0 0; }
    52%, 100% { background-position: -25% 0, 0 0; }
}

@media (max-width: 820px) {
    .hero-doctor-wrap > .doctor-badge {
        min-height: 52px !important;
        margin-top: -21px !important;
        padding: 0 21px !important;
        font-size: .9rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-doctor-wrap > .doctor-badge {
        animation: none !important;
    }
}

/* Nutrilite showcase motion: calm, premium and responsive. */
.nutrilite-content {
    perspective: 1200px;
}

.nutrilite-block {
    isolation: isolate;
    transform-origin: 50% 70%;
}

.nutrilite-block::before {
    content: "";
    position: absolute;
    inset: -45%;
    z-index: 0;
    pointer-events: none;
    background:
        conic-gradient(from 20deg at 50% 50%, transparent 0 62%, rgba(113, 238, 172, .13) 70%, transparent 78%),
        radial-gradient(circle, rgba(136, 244, 187, .10), transparent 54%);
    animation: nutriAura 16s linear infinite;
}

.nutrilite-block.active {
    animation: nutriPanelEntrance 1.05s cubic-bezier(.16, 1, .3, 1) both,
               nutriPanelBreath 6.5s ease-in-out 1.1s infinite;
}

.nutrilite-block.active .nutrilite-icon-wrap {
    animation: nutriIconFloat 4s ease-in-out 1s infinite;
}

.nutrilite-block.active .nutrilite-icon-wrap i {
    animation: nutriIconPulse 3.2s ease-in-out 1.15s infinite;
}

.hemoscan-badge {
    position: relative;
    overflow: hidden;
}

.hemoscan-badge::after {
    content: "";
    position: absolute;
    inset: -50% auto -50% -45%;
    width: 34%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
    transform: skewX(-18deg);
    animation: nutriBadgeShine 4.8s ease-in-out 1.4s infinite;
}

.nutrilite-features {
    perspective: 1000px;
}

.nutri-feature {
    --feature-tilt-x: 0deg;
    --feature-tilt-y: 0deg;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
    transition: transform .48s cubic-bezier(.16, 1, .3, 1),
                box-shadow .48s ease,
                border-color .35s ease,
                background-color .35s ease !important;
}

.nutri-feature.active {
    animation: nutriCardEntrance .9s cubic-bezier(.16, 1, .3, 1) both;
}

.nutri-feature:nth-child(2).active {
    animation-delay: .12s;
}

.nutri-feature:nth-child(3).active {
    animation-delay: .24s;
}

.nutri-feature:hover {
    z-index: 3;
    border-color: rgba(38, 159, 113, .30);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 30px 70px rgba(17, 82, 60, .16), 0 8px 24px rgba(17, 62, 48, .08);
    transform: perspective(900px) translateY(-7px) translateX(4px)
               rotateX(var(--feature-tilt-x)) rotateY(var(--feature-tilt-y));
}

.nutri-feature-num {
    position: relative;
    z-index: 2;
    transition: color .35s ease, transform .48s cubic-bezier(.16, 1, .3, 1), text-shadow .35s ease;
}

.nutri-feature:hover .nutri-feature-num {
    color: rgba(25, 132, 94, .62);
    text-shadow: 0 8px 24px rgba(30, 161, 111, .18);
    transform: translateZ(28px) scale(1.07);
}

.nutri-feature-body {
    position: relative;
    z-index: 2;
    transition: transform .48s cubic-bezier(.16, 1, .3, 1);
}

.nutri-feature:hover .nutri-feature-body {
    transform: translateZ(18px);
}

.nutri-feature::before {
    content: "";
    position: absolute;
    top: -80%;
    left: -30%;
    width: 34%;
    height: 260%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
    transform: rotate(18deg) translateX(-150%);
    transition: transform .95s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
}

.nutri-feature:hover::before {
    opacity: .8;
    transform: rotate(18deg) translateX(520%);
}

@keyframes nutriPanelEntrance {
    from { opacity: 0; transform: translate3d(-42px, 28px, 0) rotateY(3deg) scale(.97); }
    to { opacity: 1; transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
}

@keyframes nutriPanelBreath {
    0%, 100% { box-shadow: 0 34px 90px rgba(12, 57, 42, .20); }
    50% { box-shadow: 0 42px 110px rgba(12, 75, 52, .27), 0 0 0 1px rgba(128, 234, 179, .05); }
}

@keyframes nutriAura {
    to { transform: rotate(360deg); }
}

@keyframes nutriIconFloat {
    0%, 100% { transform: translateY(0) rotate(0); box-shadow: inset 0 0 0 rgba(181, 241, 208, 0); }
    50% { transform: translateY(-7px) rotate(2deg); box-shadow: inset 0 0 22px rgba(181, 241, 208, .08), 0 14px 30px rgba(3, 28, 21, .18); }
}

@keyframes nutriIconPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(181, 241, 208, 0)); }
    50% { transform: scale(1.10); filter: drop-shadow(0 0 10px rgba(181, 241, 208, .42)); }
}

@keyframes nutriBadgeShine {
    0%, 58% { left: -45%; opacity: 0; }
    66% { opacity: .8; }
    82%, 100% { left: 125%; opacity: 0; }
}

@keyframes nutriCardEntrance {
    from { opacity: 0; transform: translate3d(46px, 24px, 0) rotateY(-5deg) scale(.96); }
    to { opacity: 1; transform: translate3d(0, 0, 0) rotateY(0) scale(1); }
}

@media (max-width: 820px) {
    .nutri-feature:hover {
        transform: translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nutrilite-block,
    .nutrilite-block::before,
    .nutrilite-icon-wrap,
    .nutrilite-icon-wrap i,
    .hemoscan-badge::after,
    .nutri-feature {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}

/* ============================================================
   UIVERSE-INSPIRED BUTTON SYSTEM
   Primary: glossy liquid/glass control (massive-snail-29)
   Secondary: expanding emerald circle (weak-firefox-5)
   ============================================================ */

@property --button-gloss-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: -75deg;
}

.hero-buttons .btn-outline,
.btn-telegram,
.drawer-register-btn {
    --button-gloss-angle: -75deg;
    position: relative;
    overflow: visible;
    isolation: isolate;
    border: 0 !important;
    border-radius: 999px !important;
    color: #153b2f !important;
    background:
        linear-gradient(-75deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .74), rgba(255, 255, 255, .22)),
        linear-gradient(145deg, #f8fff9, #dcefe4) !important;
    box-shadow:
        inset 0 .13em .13em rgba(255, 255, 255, .82),
        inset 0 -.13em .13em rgba(10, 73, 50, .14),
        0 .28em .16em -.12em rgba(1, 26, 17, .28),
        0 0 .12em .22em inset rgba(255, 255, 255, .34),
        0 18px 36px rgba(3, 36, 24, .18) !important;
    text-shadow: 0 .12em .08em rgba(255, 255, 255, .7);
    transition:
        transform 400ms cubic-bezier(.25, 1, .5, 1),
        box-shadow 400ms cubic-bezier(.25, 1, .5, 1),
        --button-gloss-angle 500ms ease !important;
}

.hero-buttons .btn-outline::before,
.btn-telegram::before,
.drawer-register-btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    background: linear-gradient(
        -45deg,
        transparent 0 34%,
        rgba(255, 255, 255, .76) 44% 53%,
        transparent 62% 100%
    );
    background-position: 0% 50%;
    background-repeat: no-repeat;
    background-size: 210% 210%;
    mix-blend-mode: screen;
    pointer-events: none;
    transition: background-position 520ms cubic-bezier(.25, 1, .5, 1);
}

.hero-buttons .btn-outline::after,
.btn-telegram::after,
.drawer-register-btn::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 2;
    padding: 1.5px;
    border-radius: inherit;
    background:
        conic-gradient(
            from var(--button-gloss-angle) at 50% 50%,
            rgba(8, 61, 43, .62),
            transparent 7% 40%,
            rgba(8, 61, 43, .48) 50%,
            transparent 60% 94%,
            rgba(8, 61, 43, .62)
        ),
        linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .36));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    transition: --button-gloss-angle 500ms ease;
}

.hero-buttons .btn-outline > *,
.btn-telegram > *,
.drawer-register-btn > * {
    position: relative;
    z-index: 1;
}

.hero-buttons .btn-outline:hover,
.btn-telegram:hover,
.drawer-register-btn:hover {
    --button-gloss-angle: -125deg;
    color: #103328 !important;
    background:
        linear-gradient(-75deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .64), rgba(255, 255, 255, .18)),
        linear-gradient(145deg, #f4fff7, #c9e8d6) !important;
    box-shadow:
        inset 0 .13em .13em rgba(255, 255, 255, .9),
        inset 0 -.13em .13em rgba(10, 73, 50, .18),
        0 .17em .08em -.08em rgba(1, 26, 17, .28),
        0 0 .08em .14em inset rgba(255, 255, 255, .58),
        0 14px 30px rgba(3, 36, 24, .16) !important;
    transform: scale(.975) !important;
}

.hero-buttons .btn-outline:hover::before,
.btn-telegram:hover::before,
.drawer-register-btn:hover::before {
    background-position: 28% 50%;
}

.hero-buttons .btn-outline:active,
.btn-telegram:active,
.drawer-register-btn:active {
    --button-gloss-angle: -75deg;
    box-shadow:
        inset 0 .22em .10em rgba(5, 65, 43, .16),
        inset 0 -.06em .12em rgba(255, 255, 255, .62),
        0 .08em .06em rgba(0, 0, 0, .15) !important;
    transform: perspective(500px) rotateX(13deg) scale(.965) !important;
}

.card-more-btn,
.doctor-badge,
.drawer-register-option {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 0 !important;
    border-radius: 14px !important;
    color: #fff !important;
    background-color: #142c25 !important;
    background-image: radial-gradient(circle at center, rgba(28, 190, 126, .84) 0 50%, transparent 51%) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 0 0 !important;
    box-shadow:
        inset 0 -4px 0 rgba(0, 0, 0, .18),
        0 13px 28px rgba(10, 47, 35, .18) !important;
    transition:
        background-size 500ms cubic-bezier(0, 0, .2, 1),
        transform 220ms ease,
        box-shadow 300ms ease !important;
}

.card-more-btn:hover,
.doctor-badge:hover,
.drawer-register-option:hover {
    color: #fff !important;
    background-color: #142c25 !important;
    background-size: 230% 230% !important;
    box-shadow:
        inset 0 -3px 0 rgba(0, 0, 0, .16),
        0 17px 34px rgba(12, 112, 76, .26) !important;
}

.card-more-btn:active,
.drawer-register-option:active {
    transform: scale(.97) !important;
}

.doctor-badge {
    left: 50% !important;
    right: auto !important;
    border-radius: 16px !important;
    transform: translateX(-50%);
}

.doctor-badge:hover {
    transform: translateX(-50%) translateY(-4px) !important;
}

.doctor-badge:active {
    transform: translateX(-50%) translateY(-1px) scale(.97) !important;
}

.doctor-badge i,
.doctor-badge:hover i {
    color: #8ff0c3 !important;
}

.drawer-register-option {
    border-radius: 13px !important;
}

@media (max-width: 560px) {
    .hero-buttons .btn-outline,
    .btn-telegram,
    .drawer-register-btn {
        min-height: 56px;
    }

    .card-more-btn,
    .drawer-register-option {
        min-height: 50px;
    }
}

/* ============================================================
   MOTION SYSTEM
   ============================================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1400;
    width: 0;
    height: 3px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(90deg, #74dfaa, #e7c67e);
    box-shadow: 0 0 18px rgba(116, 223, 170, .7);
    pointer-events: none;
    transition: width .08s linear;
}

.navbar {
    animation: navEnter .8s cubic-bezier(.2, .8, .2, 1) both;
}

.nav-logo .logo-icon {
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

.nav-logo:hover .logo-icon {
    box-shadow: 0 14px 32px rgba(25, 132, 94, .34);
    transform: rotate(-9deg) scale(1.08);
}

.hero-bg-img {
    animation: heroBreath 18s ease-in-out infinite alternate;
}

.hero-overlay {
    transition: background-position 1.2s ease;
}

.hero-badge {
    position: relative;
    overflow: hidden;
}

.hero-badge::after {
    content: "";
    position: absolute;
    inset: -60% auto -60% -45%;
    width: 38%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: skewX(-18deg);
    animation: badgeSheen 5.5s ease-in-out 1.3s infinite;
}

.hero-title,
.hero-subtitle,
.hero-buttons {
    will-change: transform, opacity;
}

.doctor-badge {
    animation: badgeFloat 4.5s ease-in-out .4s infinite;
    transition: color .25s ease, background .25s ease, box-shadow .3s ease;
}

.doctor-badge:hover {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 26px 60px rgba(16, 115, 78, .34);
}

.section-header.active .section-title {
    animation: titleReveal .85s cubic-bezier(.17, .84, .32, 1) both;
}

.section-header.active .section-desc {
    animation: copyReveal .8s cubic-bezier(.17, .84, .32, 1) .12s both;
}

.nutrilite-block.active,
.category-card.active,
.advantage-card.active,
.nutri-feature.active {
    transition-duration: .9s;
    transition-timing-function: cubic-bezier(.17, .84, .32, 1);
}

.nutri-feature:nth-child(2) {
    transition-delay: .1s;
}

.nutri-feature:nth-child(3) {
    transition-delay: .2s;
}

.category-card:nth-child(2) {
    transition-delay: .08s;
}

.category-card:nth-child(3) {
    transition-delay: .16s;
}

.category-card:nth-child(4) {
    transition-delay: .24s;
}

.advantage-card:nth-child(2) {
    transition-delay: .11s !important;
}

.advantage-card:nth-child(3) {
    transition-delay: .22s !important;
}

.category-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
}

.category-card:hover {
    transform: perspective(1000px) translateY(-10px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.card-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, .36) 48%, transparent 70%);
    transform: translateX(-130%);
    transition: transform .9s cubic-bezier(.2, .8, .2, 1);
    pointer-events: none;
}

.category-card:hover .card-image-wrap::after {
    transform: translateX(130%);
}

.nutri-feature::after,
.advantage-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(120, 229, 172, .16), transparent 44%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.nutri-feature:hover::after,
.advantage-card:hover::after {
    opacity: 1;
}

.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.button-ripple {
    position: absolute;
    z-index: -1;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple .7s ease-out forwards;
}

.card-more-btn::after {
    transition: transform .28s ease;
}

.card-more-btn:hover::after {
    transform: translate(4px, -4px);
}

.contact-layout {
    background-size: 120% 120%;
    animation: contactGradient 11s ease-in-out infinite alternate;
}

.contact-info::after {
    animation: starTurn 16s linear infinite;
}

.footer-brand .logo-icon {
    animation: leafPulse 4s ease-in-out infinite;
}

@keyframes navEnter {
    from { opacity: 0; transform: translate(-50%, -24px) scale(.97); }
    to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes heroBreath {
    0% { transform: scale(1.02) translate3d(0, 0, 0); }
    100% { transform: scale(1.09) translate3d(-1.2%, -.6%, 0); }
}

@keyframes badgeSheen {
    0%, 62% { left: -45%; }
    82%, 100% { left: 125%; }
}

@keyframes doctorFloat {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(.15deg); }
    50% { transform: translateX(-50%) translateY(-13px) rotate(-.35deg); }
}

@keyframes doctorAura {
    0%, 100% { opacity: .65; transform: translateX(-50%) scale(.96); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

@keyframes badgeFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-7px); }
}

@keyframes titleReveal {
    from { opacity: 0; filter: blur(8px); transform: translateY(28px); }
    to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes copyReveal {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ripple {
    to { opacity: 0; transform: translate(-50%, -50%) scale(22); }
}

@keyframes contactGradient {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

@keyframes starTurn {
    from { transform: translateY(-50%) rotate(0deg) scale(.95); }
    50% { transform: translateY(-50%) rotate(180deg) scale(1.05); }
    to { transform: translateY(-50%) rotate(360deg) scale(.95); }
}

@keyframes leafPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(164, 233, 196, 0); transform: rotate(0); }
    50% { box-shadow: 0 0 0 9px rgba(164, 233, 196, .08); transform: rotate(-7deg); }
}

@media (max-width: 820px) {
    .hero-doctor-card {
        border-radius: 0;
    }

    .category-card:nth-child(n),
    .advantage-card:nth-child(n),
    .nutri-feature:nth-child(n) {
        transition-delay: 0s !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-img,
    .hero-doctor-img,
    .hero-doctor-card::before,
    .doctor-badge,
    .hero-badge::after,
    .contact-layout,
    .contact-info::after,
    .footer-brand .logo-icon {
        animation: none !important;
    }
}

/* Final precedence for the secondary Uiverse hover under the floating animation. */
.doctor-badge:hover {
    color: #fff !important;
    background-color: #142c25 !important;
    background-image: radial-gradient(circle at center, rgba(28, 190, 126, .84) 0 50%, transparent 51%) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 230% 230% !important;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .16), 0 17px 34px rgba(12, 112, 76, .26) !important;
}
