/* Ruvessa Glow storefront. Mobile first. Palette from the brand brief. */

:root {
    --plum: #3b1e3a;
    --plum-soft: #4d2749;
    --plum-deep: #2a1329;
    --rose: #b5507a;
    --rose-light: #e58b9a;
    --rose-pale: #f7e6ec;
    --gold: #b8905a;
    --cream: #fbf6f1;
    --paper: #ffffff;
    --ink: #2b1a2c;
    --muted: #6b5566;
    --line: #eadfe3;
    --danger: #b42339;
    --danger-bg: #fbe9ec;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(59, 30, 58, 0.06);
    --shadow: 0 16px 40px -18px rgba(59, 30, 58, 0.28);
    --max: 1180px;
    --gutter: 18px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--rose);
}

h1,
h2,
h3 {
    font-family: "Playfair Display", "Hind Siliguri", serif;
    color: var(--plum);
    line-height: 1.15;
    margin: 0 0 0.5em;
    letter-spacing: -0.005em;
}

h1 {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
}

h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1em;
}

:focus-visible {
    outline: 2px solid var(--rose);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.875rem;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--paper);
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 30;
}

.skip-link:focus {
    left: 16px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 246, 241, 0.82);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid rgba(234, 223, 227, 0.8);
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    padding-top: 12px;
    padding-bottom: 12px;
}


.site-nav {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 26px;
    font-size: 0.95rem;
}

.site-nav a {
    position: relative;
    color: var(--plum);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--rose);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

.lang-switch {
    display: inline-flex;
    padding: 3px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.lang-switch a {
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--plum);
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.lang-switch a.active {
    background: linear-gradient(135deg, var(--plum), var(--plum-soft));
    color: #fff;
}

@media (min-width: 860px) {
    .site-nav {
        order: 0;
        width: auto;
        justify-content: flex-start;
    }
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 60px;
    background:
        radial-gradient(900px 480px at 88% -8%, rgba(229, 139, 154, 0.42), transparent 60%),
        radial-gradient(640px 360px at -6% 108%, rgba(184, 144, 90, 0.22), transparent 62%),
        var(--cream);
}

.hero-grid {
    display: grid;
    gap: 36px;
    align-items: center;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 36rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 12px;
}

.hero-note {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 10px;
}

.hero-art {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    justify-self: center;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 42px;
    background: linear-gradient(150deg, #f8e6ec 0%, #eccad5 55%, #d9a7b8 100%);
    box-shadow: var(--shadow);
}

.hero-art::before {
    content: "";
    position: absolute;
    inset: 11%;
    border: 1px dashed rgba(59, 30, 58, 0.25);
    border-radius: 50%;
}

.hero-art::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -60px;
    top: -60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.75), transparent 70%);
}

.hero-art img {
    position: relative;
    z-index: 1;
    width: 54%;
    filter: drop-shadow(0 22px 26px rgba(59, 30, 58, 0.22));
    animation: float 7s ease-in-out infinite;
}

@media (min-width: 900px) {
    .hero {
        padding: 84px 0 96px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 56px;
    }
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--plum), var(--plum-soft));
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(59, 30, 58, 0.7);
}

.btn-primary:hover {
    box-shadow: 0 16px 30px -12px rgba(59, 30, 58, 0.75);
}

.btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-ghost {
    background: transparent;
    color: var(--plum);
    border-color: var(--line);
}

.btn-ghost:hover {
    background: var(--paper);
}

/* Sections */

.section {
    padding: 72px 0;
}

.section-head {
    margin-bottom: 28px;
}

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

@media (min-width: 760px) {
    .grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.card-plain {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px 26px;
    box-shadow: var(--shadow-sm);
    counter-increment: promise;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.grid-3 {
    counter-reset: promise;
}

.card-plain::before {
    content: "0" counter(promise);
    display: block;
    margin-bottom: 14px;
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    line-height: 1;
    color: var(--gold);
}

.card-plain:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(181, 80, 122, 0.3);
}

.card-plain h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.card-plain p {
    color: var(--muted);
    margin: 0;
}

.page-head {
    padding-top: 56px;
    padding-bottom: 0;
}

.prose {
    max-width: 42rem;
}

.error-page {
    padding: 80px 0;
    text-align: center;
}

/* Footer */

.site-footer {
    margin-top: 72px;
    background: linear-gradient(160deg, var(--plum-deep), var(--plum));
    color: #f5e9ef;
    padding: 34px 0;
}

.site-footer .muted {
    color: #d9c6d1;
    margin: 0 0 4px;
}

.footer-brand {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 4px;
}

/* Motion */

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.rise {
    animation: rise 0.8s var(--ease) both;
}

.rise-2 {
    animation-delay: 0.12s;
}

.rise-3 {
    animation-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
