/* Prepared from resources/css. Edit source files, then run php artisan frontend:prepare. */
/* Token source; included once in generated public/css/global.css. Edit values here. */
/* Component variants must not redefine the site palette. */
:root {
    --site-shell-max: 1440px;
    --site-shell-gutter: 64px;
    --font-body: "DM Sans", sans-serif;
    --font-heading: "DM Sans", sans-serif;
    --theme-text-primary: #151833;
    --theme-text-secondary: #101010;
    --theme-surface: #ffffff;
    --theme-surface-soft: #f7f3ff;
    --theme-surface-blue: #eef3ff;
    --theme-pink: #e52ab8;
    --theme-pink-rgb: 229, 42, 184;
    --theme-violet: #873cf0;
    --theme-blue: #3657f5;
    --theme-blue-rgb: 54, 87, 245;
    --theme-navy-rgb: 21, 24, 51;
    --theme-border: #e7e7f2;
    --theme-focus: rgba(229, 42, 184, 0.35);
    --footer-background: #1a3463;
    --footer-text-primary: #ffffff;
    --footer-text-secondary: var(--footer-text-primary);
    --footer-border: rgba(255, 255, 255, 0.14);
    --theme-shadow: 0 8px 24px rgba(38, 31, 88, 0.045);
    --theme-space-1: 0.5rem;
    --theme-space-2: 1rem;
    --theme-space-3: 1.5rem;
    --theme-space-4: 2rem;
    --theme-radius-sm: 0.5rem;
    --theme-radius-md: 0.875rem;
    --theme-radius-lg: 1.25rem;
    --theme-radius-pill: 999px;
    --theme-gradient: linear-gradient(
        105deg,
        #e52ab8 0%,
        #873cf0 52%,
        #3657f5 100%
    );
    --color-primary: var(--theme-pink);
    --color-secondary: var(--theme-text-primary);
    --color-heading: var(--theme-text-primary);
    --color-default: var(--theme-text-secondary);
    --color-border: var(--theme-border);
    --color-gray: #77809a;
    --color-white: #fff;
    --color-black: var(--theme-text-primary);
    --color-body: var(--theme-surface);
    --color-primary-two: var(--theme-violet);
    --color-heading-two: var(--theme-text-primary);
    --easing: cubic-bezier(0.67, 0.04, 0.3, 0.91);
    --theme-surface-pink: #fff7fc;
}

@media (max-width: 991px) {
    :root {
        --site-shell-gutter: 48px;
    }
}
@media (max-width: 575px) {
    :root {
        --site-shell-gutter: 36px;
    }
}

/* One font declaration for every route; URLs are relative to public/css/global.css. */
@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("../fonts/dm-sans-latin.woff2") format("woff2");
}

/* Shared browser defaults. Components own their layout, spacing and variants. */
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: auto;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--theme-pink);
}

button {
    border: 0;
    font: inherit;
    cursor: pointer;
}

:where(a, button, summary) {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--theme-focus);
    outline-offset: 3px;
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

img,
svg {
    vertical-align: middle;
}

.tracking-frame {
    display: none;
    visibility: hidden;
    border: 0;
}

/* Universal type defaults. Page/component selectors may define deliberate variants. */
body {
    position: relative;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: -0.01em;
    color: var(--theme-text-secondary);
    background: var(--theme-surface);
}

main {
    background: var(--theme-surface);
}

p,
span {
    margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--theme-text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

h2 {
    font-size: 32px;
}
h3 {
    font-size: 22px;
}
h4 {
    font-size: 20px;
}
h5 {
    font-size: 18px;
}
h6 {
    font-size: 16px;
}

/* Shared animations and accessibility behavior, including the footer dependency. */
@keyframes premiumGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

/* One container contract for the shared header, topbar and footer. */
.site-shell-width {
    width: min(var(--site-shell-max), calc(100% - var(--site-shell-gutter)));
    margin-inline: auto;
}

/* Shared site navigation uses the homepage header layout on every page. */
.hp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffffed;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid #e7e7f24d;
    color: var(--theme-text-primary);
}
.hp-header :where(a, button):focus-visible {
    outline: 3px solid var(--theme-violet);
    outline-offset: 3px;
}
.hp-header-inner {
    position: relative;
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.hp-logo {
    flex-shrink: 0;
}
.hp-logo img {
    display: block;
    width: 215px;
    height: auto;
}
.hp-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.hp-navigation-list,
.hp-submenu {
    padding: 0;
    margin: 0;
    list-style: none;
}
.hp-navigation-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(13px, 1.3vw, 22px);
}
.hp-nav-item {
    position: relative;
    display: flex;
    align-items: center;
}
.hp-nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}
.hp-navigation a {
    color: var(--theme-text-primary);
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}
.hp-navigation a > span {
    display: inline;
}
.hp-navigation a:hover,
.hp-navigation a:focus-visible {
    color: var(--theme-violet);
}
.hp-submenu {
    position: absolute;
    z-index: 110;
    top: calc(100% + 14px);
    left: 0;
    display: none;
    min-width: 250px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 9px;
    border: 1px solid var(--theme-border);
    border-radius: 14px;
    background: var(--theme-surface);
    box-shadow: 0 16px 40px rgba(21, 24, 51, 0.12);
}
.hp-nav-item.is-open > .hp-submenu {
    display: grid;
}
.hp-submenu a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    white-space: normal;
}
.hp-submenu .hp-nav-item {
    display: block;
}
.hp-submenu .hp-submenu {
    top: 0;
    left: 100%;
}
.hp-submenu-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--theme-text-primary);
    cursor: pointer;
}
.hp-submenu-toggle span {
    display: block;
    width: 7px;
    height: 7px;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
}
.hp-nav-item.is-open > .hp-submenu-toggle span {
    transform: translateY(2px) rotate(225deg);
}
.hp-submenu a:hover,
.hp-submenu a:focus-visible {
    background: var(--theme-surface-soft);
}
.hp-header .hp-button.hp-header-cta,
.hp-header .hp-button.hp-mobile-header-cta {
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    border-radius: var(--theme-radius-pill);
    padding: 12px 20px;
    background: var(--theme-gradient);
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    min-height: 42px;
    box-shadow: none;
    gap: 0;
}
.hp-header-cta {
    min-width: 168px;
}
.hp-header-cta:hover,
.hp-mobile-header-cta:hover {
    color: #fff;
    filter: brightness(1.04);
}
.hp-header .hp-navigation > .hp-mobile-header-cta {
    display: none;
}
.hp-menu-toggle {
    display: none;
}
.hp-skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 200;
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--theme-text-primary);
    color: white;
}
.hp-skip-link:focus {
    top: 10px;
}
@media (min-width: 992px) {
    /* Bridge the visual offset so the pointer stays inside the dropdown owner. */
    .hp-navigation-list > .has-submenu:hover::after,
    .hp-navigation-list > .has-submenu:focus-within::after,
    .hp-navigation-list > .has-submenu.is-open::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: max(100%, 250px);
        height: 15px;
    }
    .hp-nav-item:hover > .hp-submenu,
    .hp-nav-item:focus-within > .hp-submenu {
        display: grid;
    }
    .hp-nav-item:hover > .hp-submenu-toggle span,
    .hp-nav-item:focus-within > .hp-submenu-toggle span {
        transform: translateY(2px) rotate(225deg);
    }
}
@media (max-width: 1199px) {
    .hp-header-inner {
        gap: 16px;
        min-height: 78px;
    }
    .hp-logo img {
        width: 180px;
    }
    .hp-navigation-list {
        gap: 12px;
    }
    .hp-navigation a {
        font-size: 11px;
    }
    .hp-header .hp-button.hp-header-cta {
        min-width: 132px;
        padding-inline: 18px;
        font-size: 11px;
    }
}
@media (max-width: 991px) {
    .hp-menu-toggle {
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        margin-left: auto;
        padding: 8px;
        border: 0;
        border-radius: 10px;
        background: var(--theme-surface-soft);
        cursor: pointer;
    }
    .hp-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--theme-text-primary);
    }
    .hp-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        display: none;
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px 16px max(16px, env(safe-area-inset-bottom));
        background: var(--theme-surface);
        box-shadow: var(--theme-shadow);
    }
    .hp-navigation.is-open {
        display: block;
    }
    .hp-navigation-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
    }
    .hp-nav-item {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }
    .hp-submenu .hp-nav-item {
        display: grid;
        grid-template-columns: 1fr auto;
    }
    .hp-navigation-list > .hp-nav-item > a {
        display: block;
        padding: 12px;
        font-size: 15px;
    }
    .hp-submenu-toggle {
        width: 40px;
        height: 40px;
    }
    .hp-submenu {
        position: static;
        grid-column: 1 / -1;
        min-width: 0;
        max-height: 45vh;
        padding: 0 0 8px 12px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .hp-submenu .hp-submenu {
        padding: 0 0 0 12px;
    }
    .hp-submenu a {
        padding: 9px 12px;
    }
    .hp-nav-item.is-open > .hp-submenu {
        display: grid;
    }
    .hp-nav-item.is-open > .hp-submenu-toggle span {
        transform: translateY(2px) rotate(225deg);
    }
    .hp-header-inner > .hp-header-cta {
        display: none !important;
    }
    .hp-header .hp-navigation > .hp-mobile-header-cta {
        position: sticky;
        bottom: 0;
        display: flex;
        width: 100%;
        min-height: 48px;
        margin-top: 12px;
        justify-content: center;
        background: var(--theme-gradient);
    }
}
@media (max-width: 575px) {
    .hp-logo img {
        width: 164px;
    }
    .hp-header-inner {
        min-height: 72px;
        gap: 12px;
    }
    .hp-navigation {
        max-height: calc(100dvh - 102px);
        padding-inline: 12px;
    }
}

/* Shared topbar; container sizing belongs to layout/shell.css. */
.site-topbar { display: block; width: 100%; --site-topbar-height: 31px; color: #fff; background: var(--theme-blue); font-family: var(--font-body); font-size: 12px; font-weight: 400; line-height: 1.4; letter-spacing: -.01em; }
.site-topbar__inner, .site-topbar__right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; min-width: 0; }
.site-topbar__inner { min-height: var(--site-topbar-height); }
.site-topbar__right { margin-left: 0; }
.site-topbar a { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: inherit; text-decoration: none; }
.site-topbar a:hover { color: inherit; opacity: .85; }
.site-topbar a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.site-topbar a > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-topbar .site-icon { width: 14px; height: 14px; flex: 0 0 auto; vertical-align: middle; }
.site-topbar__socials { display: flex; align-items: center; gap: 10px; border-left: 1px solid #ffffff70; padding-left: 15px; }
.site-topbar__socials:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 575px) {
 .site-topbar { --site-topbar-height: 30px; font-size: 10px; }
 .site-topbar__inner { gap: 8px; }
 .site-topbar__right { gap: 0; max-width: 50%; }
 .site-topbar__socials { display: none; }
 .site-topbar a { gap: 4px; }
 .site-topbar .site-icon { width: 12px; height: 12px; }
}

/* Shared footer: one implementation on every route, independent of Bootstrap. */
.xb-footer-premium {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    color: var(--footer-text-secondary);
    background: var(--footer-background);
    border-top: 1px solid var(--footer-border);
}

.xb-footer-premium-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--theme-gradient);
    background-size: 300% 100%;
    animation: premiumGradient 4s ease-in-out infinite alternate;
}

.xb-footer-premium-wrap {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

.xb-footer-premium-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("../img/shape/footer-noise.webp");
    background-repeat: repeat;
    background-size: 300px;
}

.xb-footer-premium-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 40px clamp(24px, 2.5vw, 40px);
}

.xb-footer-premium-column {
    min-width: 0;
    overflow-wrap: anywhere;
}

.xb-footer-premium-brand {
    min-width: 0;
}

.xb-footer-premium-logo {
    display: flex;
    align-items: flex-start;
    min-height: 44px;
    margin-bottom: 24px;
}

.xb-footer-logo-filter {
    position: absolute;
    pointer-events: none;
}

.xb-footer-premium-logo img {
    display: block;
    width: 200px;
    height: 42px;
    max-width: 100%;
    object-fit: contain;
    object-position: left top;
    /* Lift near-black lettering while preserving the colored brand artwork. */
    filter: url("#footer-logo-light-text");
}

.xb-footer-premium-desc {
    max-width: 490px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--footer-text-secondary);
    margin: 0 0 25px;
}

.xb-footer-premium-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.xb-footer-premium-social-link {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 16px;
    color: var(--theme-violet);
    background: var(--theme-surface);
    border: 1px solid var(--footer-border);
    transition: all 0.3s ease;
}

.xb-footer-premium-social-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--theme-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.xb-footer-premium-social-link .xb-footer-social-icon {
    position: relative;
    z-index: 1;
    width: 17px;
    height: 17px;
}

.xb-footer-premium-social-link:hover,
.xb-footer-premium-social-link:focus-visible {
    color: var(--footer-text-primary);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--theme-pink-rgb), 0.25);
}

.xb-footer-premium-social-link:hover::before,
.xb-footer-premium-social-link:focus-visible::before {
    opacity: 1;
}

.xb-footer-premium-title {
    position: relative;
    min-height: 44px;
    padding-bottom: 14px;
    margin: 0 0 24px;
    color: var(--footer-text-primary);
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.xb-footer-premium-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--theme-gradient);
    border-radius: 2px;
}

.xb-footer-premium-links,
.xb-footer-premium-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xb-footer-premium-links li {
    margin-bottom: 12px;
}

.xb-footer-premium-links li a {
    display: block;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
    color: var(--footer-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.xb-footer-premium .link-arrow {
    display: none;
}

.xb-footer-premium-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--footer-text-secondary);
    overflow-wrap: anywhere;
}

.xb-footer-premium-contact li .contact-icon {
    flex: 0 0 20px;
    display: flex;
    justify-content: center;
    margin-top: 2px;
}

.xb-footer-premium-contact li .contact-icon img {
    opacity: 0.6;
    filter: brightness(0) invert(0.6);
    transition: opacity 0.3s;
}

.xb-footer-premium-contact li a {
    color: var(--footer-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.xb-footer-premium-contact li > :not(.contact-icon) {
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.xb-footer-premium-links li a:hover,
.xb-footer-premium-contact li a:hover {
    color: var(--theme-pink);
    background: transparent;
}

.xb-footer-premium-contact li:hover .contact-icon img {
    opacity: 1;
    filter: none;
}

.xb-footer-premium-map {
    display: block;
    width: 100%;
    height: 160px;
    margin-top: 18px;
    border: 0;
    border-radius: 10px;
}

.xb-footer-premium-bottom {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid var(--footer-border);
    text-align: center;
}

.xb-footer-premium-bottom p {
    margin: 0;
    font-size: 14px;
    color: var(--footer-text-primary);
}

@media (max-width: 1199px) {
    .xb-footer-premium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;
    }
}

@media (max-width: 767px) {
    .xb-footer-premium-wrap {
        padding-top: 60px;
    }
    .xb-footer-premium-brand {
        padding-right: 0;
    }
    .xb-footer-premium-brand-column,
    .xb-footer-premium-contact-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .xb-footer-premium-wrap {
        padding-top: 48px;
    }
    .xb-footer-premium-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px 18px;
    }
    .xb-footer-premium-title {
        font-size: 15px;
        min-height: 0;
    }
}
