
/* =========================================================
   RHINOWELL — GLOBAL DESIGN SYSTEM
   Typography centralized in nav.css
   Responsive: Desktop / 820px / 480px
========================================================= */

/* FONT LOADING — keep this at the top of the file */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

/* =========================================================
   01. ROOT VARIABLES
========================================================= */

:root {
    /* Typography */
    --font-stack: "Inter", -apple-system, BlinkMacSystemFont,
                  "Helvetica Neue", Arial, sans-serif;

    --h1-weight: 900;
    --h2-weight: 800;
    --h3-weight: 700;
    --h4-weight: 700;

    --heading-weight: 800;
    --heading-heavy-weight: 900;

    --body-weight: 800;
    --body-strong-weight: 700;
    --body-light-weight: 600;

    --nav-weight: 800;
    --button-weight: 700;
    --label-weight: 900;

    /* Brand colors */
    --color-brand: rgba(123, 123, 123, 0.9);
    --color-brand-hover: #D99500;

    --color-text: rgba(25, 28, 32, 0.9);

    --color-text-secondary: #666666;
    --color-text-muted: #888888;

    --color-background: #FFFFFF;
    --color-background-soft: #F5F5F3;

    --color-dark: #1E1E1E;
    --color-dark-secondary: #292929;

    --color-border: #E8E8E8;
    --color-border-dark: #383838;

    /* Layout */
    --site-width: 1260px;
    --content-width: 1080px;
    --text-width: 760px;

    --page-padding: 24px;

    --section-spacing: 88px;
    --section-spacing-small: 56px;

    /* Typography sizes */
    --h1-size: 48px;
    --h2-size: 36px;
    --h3-size: 24px;

    --body-size: 16px;
    --eyebrow-size: 12px;
    --small-size: 13px;

    /* Line heights */
    --heading-line-height: 1.12;
    --body-line-height: 1.65;

    /* UI */
    --transition-fast: 180ms ease;
    --transition-normal: 280ms ease;

    --radius-small: 4px;
    --radius-medium: 6px;

    /* Product page aliases */
    --prod-bg: var(--color-background);
    --prod-text: var(--color-text);
    --prod-body: var(--color-text-secondary);
    --prod-muted: var(--color-text-muted);

    --prod-dot: #C6C1B7;
    --prod-dot-active: var(--color-dark);
}

/* =========================================================
   02. GLOBAL BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 320px;

    font-family: var(--font-stack);
    color: var(--color-text);
    background: var(--color-background);

    font-size: var(--body-size);
    font-weight: var(--body-weight);
    line-height: var(--body-line-height);

    overflow-x: clip;
}

body,
button,
input,
textarea,
select {
    font-family: var(--font-stack);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

figure {
    margin: 0;
}

main {
    width: 100%;
    max-width: 100%;
    min-height: 1px;
}

/* =========================================================
   03. GLOBAL TYPOGRAPHY
========================================================= */

h1 {
    margin: 0 0 24px;
    color: var(--color-text);
    font-family: var(--font-stack);
    font-size: var(--h1-size);
    font-weight: var(--h1-weight);
    line-height: var(--heading-line-height);
    letter-spacing: -0.035em;
}

h2 {
    margin: 0 0 20px;
    color: var(--color-text);
    font-family: var(--font-stack);
    font-size: var(--h2-size);
    font-weight: var(--h2-weight);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h3 {
    margin: 0 0 16px;
    color: var(--color-text);
    font-family: var(--font-stack);
    font-size: var(--h3-size);
    font-weight: var(--h3-weight);
    line-height: 1.3;
    letter-spacing: -0.015em;
}

h4 {
    font-family: var(--font-stack);
    font-weight: var(--h4-weight);
}

p {
    margin: 0 0 18px;
    color: var(--color-text-secondary);
    font-family: var(--font-stack);
    font-size: var(--body-size);
    font-weight: var(--body-weight);
    line-height: var(--body-line-height);
}

p:last-child {
    margin-bottom: 0;
}

strong,
b {
    font-weight: var(--body-strong-weight);
}

.eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--color-brand);
    font-size: var(--eyebrow-size);
    font-weight: var(--label-weight);
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow-muted {
    color: var(--color-text-muted);
}

.small-text {
    font-size: var(--small-size);
    line-height: 1.6;
}

.lead {
    max-width: var(--text-width);
    color: var(--color-text-secondary);
    font-size: 18px;
    line-height: 1.75;
}

/* =========================================================
   04. GLOBAL LAYOUT & CONTAINERS
========================================================= */

/* =========================================================
   STICKY HEADER — GLASS EFFECT
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 100%;

  background: rgba(25, 28, 32, 0.9);

  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .site-nav {
  background: transparent;
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  margin: 0;
}

.container {
    width: 100%;
    max-width: var(--site-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
}

.container-narrow {
    width: 100%;
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
}

.text-container {
    width: 100%;
    max-width: var(--text-width);
    margin-left: auto;
    margin-right: auto;
}

.section {
    width: 100%;
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
}

.section-small {
    padding-top: var(--section-spacing-small);
    padding-bottom: var(--section-spacing-small);
}

.bg-soft {
    background: var(--color-background-soft);
}

.bg-dark {
    background: var(--color-dark);
    color: #FFFFFF;
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
    color: #FFFFFF;
}

.bg-dark p {
    color: #BBBBBB;
}

/* =========================================================
   05. GLOBAL LINKS & INTERACTIONS
========================================================= */

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: 4px;
}

/* =========================================================
   06. HEADER & NAVIGATION
========================================================= */

header {
    position: relative;
    z-index: 2000;
    width: 100%;
    background: var(--color-background);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    padding: 10px 20px;

    background: var(--color-background);

    width: 100%;
    max-width: var(--site-width);

    position: relative;
    left: 50%;
    transform: translateX(-50%);

    top: 0;
    min-height: 60px;
}

header nav img {
    width: 40px;
    height: auto;
    display: block;
}

.logo {
    display: flex;
    position: sticky;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
}

.logo sup {
    position: relative;
    top: 0;
    font-size: 0.75rem;
    line-height: 1.2;
    font-family: var(--font-stack);
}

/* =========================================================
   07. LANGUAGE SWITCHER
========================================================= */

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.lang-btn {
    display: inline-block;
    padding: 3px 6px;
    border-radius: var(--radius-small);
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: var(--nav-weight);
    text-decoration: none;
    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--color-brand);
}

/* =========================================================
   08. DESKTOP NAV LINKS
========================================================= */

.nav-links {
    display: none !important;
}

/* =========================================================
   09. GENERAL BUTTON STYLE
========================================================= */

.btn-bg a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--color-brand);
    color: #FFFFFF !important;
    border-radius: var(--radius-small);
    font-weight: var(--button-weight);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.btn-bg a:hover {
    background: var(--color-brand-hover);
}

/* =========================================================
   10. HAMBURGER BUTTON
========================================================= */

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition:
      transform 220ms ease,
      opacity 220ms ease;
}

/* =========================================================
   11. MOBILE NAVIGATION DRAWER
========================================================= */

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;

    width: 70vw;
    max-width: 450px;

    height: 100vh;
    height: 100dvh;

    overflow-y: auto;
    overscroll-behavior: contain;

    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    display: flex;
    flex-direction: column;

    padding: 5rem 1.5rem 2.5rem;
    gap: 0.5rem;

    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.06);

    pointer-events: none;

    transform: translateX(100%);
    transition: transform 380ms cubic-bezier(.2, .9, .2, 1);

    z-index: 99999;
}

.mobile-nav.active {
    transform: translateX(0);
    pointer-events: auto;
}

/* =========================================================
   12. MOBILE CLOSE BUTTON
========================================================= */

.mobile-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;

    background: transparent;
    border: none;

    font-size: 28px;
    color: var(--color-text);

    cursor: pointer;
    padding: 5px;
    line-height: 1;

    z-index: 100000;

    transition: color var(--transition-fast);
}

.mobile-close-btn:hover {
    color: var(--color-brand);
}

/* =========================================================
   13. MOBILE NAV LINKS
========================================================= */

.mobile-nav > a,
.mobile-item > a {
    display: block;
    padding: 0.75rem 0;

    color: var(--color-text);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    text-decoration: none;
    font-family: var(--font-stack);
    font-weight: var(--nav-weight);
    font-size: 0.95rem;

    transition: color var(--transition-fast);
}

.mobile-nav a:hover {
    color: var(--color-brand);
}

/* =========================================================
   14. MOBILE SUBMENU
========================================================= */

.mobile-item .mobile-submenu {
    overflow: hidden;
    max-height: 0;
    transition: max-height 280ms ease;

    display: flex;
    flex-direction: column;

    gap: 6px;
    padding-left: 28px;
}

.mobile-item .mobile-submenu a {
    display: block;
    font-size: 0.88rem;
    font-weight: var(--body-weight);
    padding: 0.5rem 0;
    font-family: var(--font-stack);
}

.plus {
    display: inline-block;
    width: 20px;
    font-weight: var(--body-strong-weight);
    margin-right: 8px;
    font-family: var(--font-stack);
}

/* =========================================================
   15. FOOTER — GLOBAL COMPONENT
========================================================= */

.site-footer {
    width: 100%;
    max-width: 100%;

    margin: 80px 0 0;
    padding: 72px 24px 26px;

    background: rgba(25, 28, 32, 0.9);
    color: #FFFFFF;

    overflow: hidden;
}

.footer-inner {
    width: 100%;
    max-width: var(--site-width);

    margin-left: auto;
    margin-right: auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 1fr 1fr;

    column-gap: 48px;
    row-gap: 40px;

    padding-bottom: 58px;
}



.footer-brand {
    max-width: 360px;
}

.footer-brand-name {
    display: inline-block;
    margin-bottom: 14px;

    color: #FFFFFF;
    font-size: 23px;
    font-weight: var(--body-strong-weight);
    letter-spacing: -0.025em;

    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-brand-name:hover {
    color: var(--color-brand);
}

.footer-description {
    max-width: 300px;
    margin: 0;

    color: #AAAAAA;
    font-size: 13px;
    line-height: 1.8;
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    margin: 2px 0 20px;

    color: #FFFFFF;
    font-size: 13px;
    font-weight: var(--h3-weight);
    line-height: 1.4;
    letter-spacing: 0.06em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 0;
    padding: 0;
}

.footer-links a {
    display: inline-block;
    width: fit-content;

    color: #AAAAAA;
    font-size: 13px;
    line-height: 1.6;

    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-brand);
}

.footer-follow-link {
    display: inline-block;
    margin-top: 14px;

    color: #AAAAAA;
    font-size: 13px;
    line-height: 1.6;

    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-follow-link:hover {
    color: var(--color-brand);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;
    padding-top: 22px;

    border-top: 1px solid var(--color-border-dark);
}

.footer-copyright {
    margin: 0;
    color: #777777;
    font-size: 12px;
    line-height: 1.6;
}

.footer-tagline {
    margin: 0;
    color: #777777;
    font-size: 12px;
    line-height: 1.6;
    text-align: right;
}

/* =========================================================
   16. RESPONSIVE — TABLET
   max-width: 820px
========================================================= */

@media (max-width: 820px) {

    :root {
        --section-spacing: 68px;
        --section-spacing-small: 44px;
    }

    .footer-main {
        grid-template-columns: 1.2fr 1fr 1fr;
        column-gap: 32px;
        row-gap: 38px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   17. RESPONSIVE — MOBILE
   max-width: 480px
========================================================= */

@media (max-width: 480px) {

    :root {
        --page-padding: 20px;

        --h1-size: 36px;
        --h2-size: 30px;
        --h3-size: 22px;

        --body-size: 15px;
        --eyebrow-size: 12px;

        --section-spacing: 52px;
        --section-spacing-small: 36px;
    }

    /* Header */

    header nav {
        padding: 10px 16px;
        gap: 8px;
    }

    .logo {
        gap: 7px;
    }

    header nav img {
        width: 36px;
    }

    .logo sup {
        display: none;
    }

    .lang-switcher {
        gap: 3px;
    }

    .lang-btn {
        padding: 3px 4px;
        font-size: 0.75rem;
    }

    /* Mobile navigation */

    .mobile-nav {
        width: 80vw;
    }

    /* Footer */

    .site-footer {
        width: 100%;
        max-width: 100%;

        margin-top: 56px;
        padding: 48px 22px 22px;
    }

    .footer-inner {
        width: 100%;
        max-width: var(--site-width);

        margin-left: auto;
        margin-right: auto;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;

        column-gap: 24px;
        row-gap: 34px;

        padding-bottom: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand-name {
        font-size: 21px;
    }

    .footer-column h3 {
        margin-bottom: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-tagline {
        text-align: left;
    }
}

/* =========================================================
   END — RHINOWELL GLOBAL DESIGN SYSTEM
========================================================= */

/* =========================================================
   DESKTOP LANGUAGE SWITCHER
   ========================================================= */

   @media (min-width: 821px) {

    .site-header .site-nav {
        position: relative;
    }

    .site-header .desktop-lang-switcher {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;

        margin: 0;
        padding: 0;

        white-space: nowrap;
        z-index: 5;
    }

    .site-header .desktop-lang-switcher .lang-btn {
        display: inline-block;
        padding: 4px 5px;

        color: rgba(255, 255, 255, 0.65);

        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.04em;

        text-decoration: none;
        transition: color 0.25s ease;
    }

    .site-header .desktop-lang-switcher .lang-btn:hover,
    .site-header .desktop-lang-switcher .lang-btn.active {
        color: #ffffff;
    }

    .site-header .mobile-language-item {
        display: none !important;
    }

}


/* =========================================================
   MOBILE LANGUAGE MENU
   ========================================================= */

@media (max-width: 820px) {

    .site-header .desktop-lang-switcher {
        display: none !important;
    }

    .site-header .mobile-language-item {
        display: block;
    }

    .site-header .mobile-language-submenu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: hidden;
    }

    .site-header .mobile-language-submenu a {
        display: block;
        width: 100%;
        padding: 10px 0 10px 24px;

        color: #777777;
        font-size: 13px;
        line-height: 1.5;

        text-decoration: none;
    }

    .site-header .mobile-language-submenu a:hover,
    .site-header .mobile-language-submenu a.active {
        color: #202020;
    }

}
