 :root {
    /* ===== PRIMARY (blue) — base, hover, active, surfaces ===== */
    --c-primary: #2778b2;
    --c-primary-dark: #1c5c8c;
    /* hover */
    --c-primary-darker: #154569;
    /* active/pressed */
    --c-primary-light: #e9f2f9;
    /* soft bg / chip bg */
    --c-primary-border: #b9d6ea;
    /* border on light bg */
    /* ===== ACCENT (red) — base, hover, active, surfaces ===== */
    --c-accent: #fd4051;
    --c-accent-dark: #d72e3e;
    /* hover */
    --c-accent-darker: #b3232f;
    /* active/pressed */
    --c-accent-light: #ffe9eb;
    /* soft bg / chip bg */
    --c-accent-border: #ffc1c7;
    /* border on light bg */
    /* ===== GOLD (tertiary, muted — badges/dividers only) ===== */
    --c-gold: #c99a4a;
    --c-gold-light: #f7eede;
    /* ===== TEXT HIERARCHY ===== */
    --c-ink: #121826;
    /* headings, primary text */
    --c-ink-soft: #4a5263;
    /* body text */
    --c-mute: #8791a1;
    /* placeholders, captions, disabled */
    --c-text-on-primary: #ffffff;
    /* text on blue buttons */
    --c-text-on-accent: #ffffff;
    /* text on red buttons */
    --c-text-link: #2778b2;
    --c-text-link-hover: #1c5c8c;
    /* ===== BORDERS ===== */
    --c-line: #e2e8ee;
    /* default border, cards/inputs */
    --c-line-strong: #cdd6e0;
    /* table headers, dividers needing more contrast */
    --c-line-focus: #2778b2;
    /* input focus ring border */
    /* ===== SURFACES ===== */
    --c-cream: #f6f9fb;
    --c-cream-warm: #eff4f8;
    --c-bg: #fff;
    /* ===== SEMANTIC (danger reuses accent family on purpose) ===== */
    --c-success: #29a873;
    --c-success-light: #e6f6ee;
    --c-danger: #d72e3e;
    --c-danger-light: #ffe9eb;
    --c-warn: #e0a23a;
    --c-warn-light: #fbf0db;
    /* ===== FONTS ===== */
    --f-display: 'Plus Jakarta Sans', sans-serif;
    --f-body: 'Cormorant Garamond', serif;
    /* ===== RADIUS ===== */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 999px;
    /* ===== SHADOWS (blue-tinted, consistent with primary) ===== */
    --sh-sm: 0 1px 2px rgba(18, 24, 38, 0.06), 0 1px 3px rgba(18, 24, 38, 0.04);
    --sh-md: 0 6px 16px rgba(39, 120, 178, 0.12), 0 2px 6px rgba(18, 24, 38, 0.04);
    --sh-lg: 0 24px 48px -12px rgba(39, 120, 178, 0.22), 0 8px 16px rgba(18, 24, 38, 0.06);
    --sh-xl: 0 32px 64px -16px rgba(39, 120, 178, 0.30);
    --container: 1580px;
    --container-narrow: 1080px;
    --header-h: 84px;
    --shadow-sm: 0 2px 8px rgba(28, 92, 140, 0.08);
    --shadow-md: 0 8px 24px rgba(28, 92, 140, 0.10);
    --shadow-lg: 0 18px 50px rgba(28, 92, 140, 0.16);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-pill: 999px;
    --t-fast: 180ms cubic-bezier(.4, 0, .2, 1);
    --t-base: 320ms cubic-bezier(.4, 0, .2, 1);
    --t-slow: 560ms cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

.derma-logo {
    width: 70%
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-ink);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden
}

img {
    max-width: 100%;
    height: auto
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-fast)
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: 0
}

ul,
ol {
    list-style: none
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--f-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--c-ink)
}

::selection {
    background: var(--c-primary);
    color: #fff
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px
}

::-webkit-scrollbar-track {
    background: var(--c-cream)
}

::-webkit-scrollbar-thumb {
    background: var(--c-primary);
    border-radius: 6px;
    border: 2px solid var(--c-cream)
}

::-webkit-scrollbar-thumb:hover {
    background: var(--c-primary-dark)
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px
}

.container-narrow {
    width: 100%;
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 24px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 18px
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--c-primary)
}

.section-title {
    font-size: clamp(28px, 4.2vw, 48px);
    font-weight: 600;
    line-height: 1.12;
    margin-bottom: 18px
}

.section-title em {
    font-style: italic;
    color: var(--c-accent);
    font-weight: 500
}

.section-sub {
    font-size: clamp(15px, 1.4vw, 17px);
    color: var(--c-ink-soft);
    max-width: 680px;
    margin: 0 auto
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .01em;
    transition: all var(--t-base);
    cursor: pointer;
    white-space: nowrap;
    border: 1.5px solid transparent
}

.btn-primary {
    background: var(--c-accent);
    color: var(--c-text-on-primary);
    border: 1px solid var(--c-accent);
    transition: background var(--t-fast), border-color var(--t-fast);
}

.hero h1 span {
    font-weight: 500;
    color: var(--c-primary);
    position: relative;
    display: inline-block
}

;
.hero h1 span::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 8px;
    background: var(--c-accent);
    opacity: .35;
    border-radius: 4px;
    transform: skewX(-8deg);
}

.btn-primary:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
}

.btn-primary:active {
    background: var(--c-primary-darker);
}

.btn-accent {
    background: var(--c-accent);
    color: #fff;
    box-shadow: 0 8px 18px rgba(232, 155, 123, 0.32)
}

.btn-accent:hover {
    background: var(--c-accent-dark);
    transform: translateY(-2px)
}

.btn-outline {
    background: transparent;
    color: var(--c-primary);
    border-color: var(--c-primary)
}

.btn-outline:hover {
    background: var(--c-primary);
    color: #fff
}

.btn-light {
    background: #fff;
    color: var(--c-primary)
}

.btn-light:hover {
    background: var(--c-cream)
}

.btn-arrow::after {
    content: '→';
    transition: transform var(--t-base)
}

.btn-arrow:hover::after {
    transform: translateX(4px)
}

.topbar {
    background: var(--c-primary-dark);
    color: #fff;
    font-size: 13px;
    padding: 9px 0
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap
}

.topbar-left {
    display: flex;
    gap: 22px;
    align-items: center
}

.topbar-left span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    opacity: .9
}

.topbar-left svg {
    flex-shrink: 0
}

.topbar-right {
    display: flex;
    gap: 18px;
    align-items: center
}

.topbar-right a {
    transition: color var(--t-fast)
}

.topbar-right a:hover {
    color: var(--c-gold)
}

.topbar-right .divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25)
}

@media(max-width:720px) {
    .topbar-left .hide-sm {
        display: none
    }
    .topbar {
        font-size: 12px
    }
}

.sign-up {
    padding: 8px 19px;
    background: #d88450;
    font-size: 12px;
    color: #fff
}

.sign-up:hover {
    background: #d88450
}

.sign-up a:hover {
    color: #fff
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--c-line);
    transition: box-shadow var(--t-base);
    transition: transform .3s ease
}

.header.scroll-down {
    transform: translateY(0)
}

.header.scroll-up {
    transform: translateY(0)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h)
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px
}

.nav-item {
    position: relative
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    font-weight: 500;
    font-size: 14.5px;
    color: var(--c-ink);
    transition: all 1s
}

.nav-link:hover {
    color: var(--c-primary);
    background: var(--c-primary-light)
}

.nav-link .caret {
    width: 10px;
    height: 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform var(--t-fast)
}

.nav-item:hover .nav-link .caret {
    transform: rotate(225deg);
    margin-top: 3px
}

.mega {
    position: absolute;
    top: calc(100%+0);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: min(880px, 90vw);
    padding: 28px;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-xl);
    border: 1px solid var(--c-line);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--t-base)
}

.mega.right {
    left: 0;
    right: 0;
    transform: translateY(8px)
}

.nav-item:hover .mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0)
}

.nav-item:hover .mega.right {
    transform: translateY(0)
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 24px
}

.mega-col h4 {
    font-family: var(--f-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--c-line)
}

.mega-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--r-sm);
    transition: background var(--t-fast);
    font-size: 13.5px;
    color: var(--c-ink-soft)
}

.mega-link:hover {
    background: var(--c-cream);
    color: var(--c-primary)
}

.mega-link .ic {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--c-cream-warm);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--c-primary)
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px
}

.menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--c-primary);
    color: #fff;
    display: none;
    place-items: center
}

.menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: all var(--t-fast)
}

.menu-btn span::before,
.menu-btn span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: all var(--t-fast)
}

.menu-btn span::before {
    top: -6px
}

.menu-btn span::after {
    top: 6px
}

.menu-btn.active span {
    background: transparent
}

.menu-btn.active span::before {
    transform: rotate(45deg);
    top: 0
}

.menu-btn.active span::after {
    transform: rotate(-45deg);
    top: 0
}

@media(max-width:1100px) {
    .nav {
        display: none
    }
    .menu-btn {
        display: grid
    }
    .header-inner {
        height: 72px
    }
    :root {
        --header-h: 72px
    }
}

.header-moble {
    margin-top: 15%
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 86vw);
    height: 100vh;
    z-index: 200;
    background: #fff;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform var(--t-base);
    overflow-y: auto;
    padding: 30px;
    padding-top: 8px;
    overflow: scroll
}

.mobile-drawer.open {
    transform: translateX(0)
}

.mobile-drawer .close-btn {
    position: absolute;
    top: 18px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--c-cream);
    color: var(--c-primary);
    display: grid;
    place-items: center;
    font-size: 20px
}

.mobile-drawer .m-link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-line);
    font-weight: 500;
    color: var(--c-ink)
}

.mobile-drawer .m-sub {
    display: none;
    padding: 8px 0 8px 16px;
    border-left: 2px solid var(--c-primary);
    margin: 8px 0 8px 4px
}

.mobile-drawer .m-sub.open {
    display: block
}

.mobile-drawer .m-sub a {
    display: block;
    padding: 7px 0;
    font-size: 14px;
    color: var(--c-ink-soft)
}

.mobile-drawer .m-sub a:hover {
    color: var(--c-primary)
}

.mobile-drawer .m-link.has-sub::after {
    content: '+';
    float: right;
    font-size: 20px;
    color: var(--c-primary);
    transition: transform var(--t-fast)
}

.mobile-drawer .m-link.has-sub.open::after {
    content: '–'
}

.mobile-drawer .m-cta {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 29, 41, 0.5);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-base)
}

.backdrop.show {
    opacity: 1;
    visibility: visible
}
 