:root {
    --cream: #f6f1e8;
    --green: #2e4a3a;
    --sage: #6f8576;
    --gold: #c3a46a;
    --ink: #1f1f1f;
    --muted: #6b6b6b;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(31, 31, 31, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Nunito", Arial, sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top, #fffaf2 0%, var(--cream) 60%, #efe6d8 100%);
    font-size: 0.95rem;
}

a {
    color: inherit;
    text-decoration: none;
}

label {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--green);
}

textarea,
input {
    font-family: inherit;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}
/* =========================
   HEADER UPGRADE + PROFILE MENU
   (doesn't change your colors)
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 110;
    border-bottom: 1px solid rgba(46, 74, 58, 0.12);
    background: transparent;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(31, 31, 31, 0.06);
    pointer-events: none;
    z-index: -1;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 0;
    gap: 1rem;
    position: relative;
    z-index: 100;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-left: auto;
    position: relative;
    z-index: 105;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    line-height: 1;
    position: relative;
    z-index: 105;
}

.brand-logo {
    height: 44px;
    width: auto;
    max-width: 230px;
    display: block;
    object-fit: contain;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 18, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 90;
}

.nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.nav {
    display: flex;
    gap: 1.05rem;
    align-items: center;
}

.nav-link {
    font-weight: 700;
    color: var(--green);
    padding: 0.25rem 0;
    position: relative;
    letter-spacing: 0.02em;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--green));
    opacity: 0;
    transform: scaleX(0.6);
    transition: all 0.18s ease;
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    line-height: 1;
    white-space: nowrap;
    padding: 0.62rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(46, 74, 58, 0.92);
    background: rgba(46, 74, 58, 0.94);
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(46, 74, 58, 0.16);
    flex-shrink: 0;
}

.nav-cta:hover,
.nav-cta.active {
    background: rgba(46, 74, 58, 0.98);
    box-shadow: 0 14px 26px rgba(46, 74, 58, 0.2);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    line-height: 1;
    white-space: nowrap;
    padding: 0.62rem 1.15rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(46, 74, 58, 0.42);
    color: var(--green);
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(31, 31, 31, 0.06);
    flex-shrink: 0;
}

.nav-button:hover {
    background: rgba(46, 74, 58, 0.08);
    border-color: rgba(46, 74, 58, 0.55);
}

.nav-cta:focus-visible,
.nav-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(195, 164, 106, 0.25), 0 12px 24px rgba(31, 31, 31, 0.08);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    border: 1px solid rgba(46, 74, 58, 0.25);
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    width: 42px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--green);
    border-radius: 999px;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Profile menu */
.profile-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(46, 74, 58, 0.25);
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-weight: 800;
    color: var(--green);
}

.profile-trigger:hover {
    background: rgba(46, 74, 58, 0.08);
}

.profile-trigger .avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(195, 164, 106, 0.22);
    border: 1px solid rgba(195, 164, 106, 0.55);
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 900;
    color: var(--green);
    flex: 0 0 auto;
}

.profile-trigger .profile-name {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-trigger .chev {
    opacity: 0.8;
    transform: translateY(-1px);
}

.profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 220px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(46, 74, 58, 0.14);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(31, 31, 31, 0.12);
    padding: 0.5rem;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: all 0.18s ease;
    backdrop-filter: blur(10px);
}

.profile-menu.open .profile-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.profile-item {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    font-weight: 800;
    color: var(--green);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.profile-item.profile-lang {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
}

.profile-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.profile-item:hover {
    background: rgba(46, 74, 58, 0.08);
}

.profile-item.danger {
    color: #7a1e1e;
}

.profile-item.danger:hover {
    background: rgba(122, 30, 30, 0.08);
}

.profile-sep {
    height: 1px;
    margin: 0.4rem 0.35rem;
    background: rgba(46, 74, 58, 0.12);
}

/* Make header more "unyama" on large screens */
@media (min-width: 992px) {
    .header-inner {
        padding: 1.05rem 0;
    }
    .nav {
        gap: 1.15rem;
    }
}

/* Responsive header */
@media (max-width: 900px) {
    .header-inner { padding: 0.75rem 0; }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(86vw, 380px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        padding: calc(var(--header-offset, 72px) + 1rem) 1rem 1.2rem;
        background: rgba(255, 255, 255, 0.98);
        border-left: 1px solid rgba(46, 74, 58, 0.14);
        box-shadow: 0 18px 45px rgba(31, 31, 31, 0.18);
        transform: translateX(110%);
        transition: transform 0.22s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 95;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .brand-logo { height: 40px; max-width: 200px; }

    .nav-link,
    .nav-cta,
    .nav-button {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0.7rem 0.85rem;
        border-radius: 14px;
    }

    .nav-link::after { display: none; }

    .nav-link.active {
        background: rgba(46, 74, 58, 0.08);
        border: 1px solid rgba(46, 74, 58, 0.14);
    }

    .nav-cta { justify-content: center; }

    .profile-menu { width: 100%; }

    .profile-trigger { width: 100%; justify-content: space-between; }

    /* Mobile: make the profile dropdown an inline accordion inside the drawer (never off-screen) */
    .profile-dropdown {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        width: 100%;
        margin-top: 0.6rem;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border-width: 0;
        box-shadow: none;
        transition: max-height 0.22s ease, padding 0.22s ease, border-color 0.22s ease, margin 0.22s ease;
    }

    .profile-menu.open .profile-dropdown {
        max-height: 520px;
        padding: 0.5rem;
        border-width: 1px;
    }
}

html.nav-open,
body.nav-open {
    overflow: hidden;
}


.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.lang-label {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lang-select {
    appearance: none;
    border: 1px solid rgba(46, 74, 58, 0.25);
    background: rgba(255, 255, 255, 0.9);
    color: var(--green);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.35rem 2.1rem 0.35rem 0.8rem;
    font-size: 0.85rem;
    line-height: 1.2;
    background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%),
        linear-gradient(135deg, var(--green) 50%, transparent 50%);
    background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.profile-dropdown .lang-select {
    width: 100%;
}

.lang-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(195, 164, 106, 0.3);
}

.hero {
    padding: 4.5rem 0 3rem;
    background: linear-gradient(120deg, rgba(195, 164, 106, 0.15), rgba(46, 74, 58, 0.08));
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -140px;
    top: -120px;
    background: radial-gradient(circle, rgba(195, 164, 106, 0.35), rgba(195, 164, 106, 0));
}

.media-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-shell {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow);
}

.video-shell video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.video-lock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.video-lock.active {
    opacity: 1;
    pointer-events: auto;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.8rem;
}

.mention {
    color: var(--gold);
    font-weight: 700;
}

.meta-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.meta-actions form {
    margin: 0;
}

.meta-actions button {
    border: none;
    background: transparent;
    color: var(--green);
    font-weight: 600;
    cursor: pointer;
}

.thumb-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.thumb-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.thumb-content {
    padding: 1.4rem;
}

.banner {
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    background: #d9c8a8;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-body {
    background: var(--white);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.comment-list {
    display: grid;
    gap: 1.2rem;
}

.comment-item {
    background: var(--white);
    padding: 1rem 1.2rem;
    border-radius: 14px;
    border: 1px solid rgba(46, 74, 58, 0.15);
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.comment-author {
    font-weight: 700;
    color: var(--green);
    font-size: 0.9rem;
}

.comment-item p {
    margin: 0.4rem 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.comment-time {
    font-size: 0.8rem;
    color: var(--muted);
}

.comment-body {
    margin: 0.45rem 0 0.6rem;
    font-size: 0.92rem;
    line-height: 1.55;
}

.comment-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    margin-top: 0.4rem;
}

.comment-reply-btn {
    background: transparent;
    border: 1px solid rgba(46, 74, 58, 0.35);
    color: var(--green);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.comment-replies {
    margin: 0.8rem 0 0 1.2rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(46, 74, 58, 0.15);
    display: grid;
    gap: 0.8rem;
}

.comment-reply-form {
    margin-top: 0.7rem;
    display: none;
    gap: 0.6rem;
}

.comment-reply-form.is-open {
    display: grid;
}

.comment-form textarea {
    min-height: 90px;
}

.comment-form {
    position: sticky;
    top: 90px;
    z-index: 2;
}

.hero-inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.hero-visual {
    display: grid;
    gap: 1.4rem;
    align-items: start;
}

.hero-portrait {
    background: var(--white);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(46, 74, 58, 0.12);
    max-width: 280px;
    width: min(280px, 100%);
    margin: 0 auto;
}

.hero-portrait img {
    width: 100%;
    height: clamp(200px, 24vw, 260px);
    object-fit: cover;
    object-position: center top;
    display: block;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", Arial, sans-serif;
    margin-top: 0;
}

h1 {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
}

h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

h3 {
    font-size: 1.2rem;
}

.lead {
    font-size: 1rem;
    color: var(--muted);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--sage);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
}

.btn-outline {
    border-color: var(--green);
    color: var(--green);
    background: transparent;
}

.btn-secondary {
    background: var(--gold);
    color: var(--white);
}

.hero-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.hero-card-title {
    font-size: 1.4rem;
    margin: 0.8rem 0;
}

.hero-list {
    padding-left: 1.1rem;
    color: var(--muted);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--green);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
}

.section {
    padding: 3.5rem 0;
}

.section-muted {
    background: rgba(255, 255, 255, 0.7);
}

.page-hero.contact-hero {
    background: var(--white);
    color: var(--green);
    padding: 3rem 0 2.2rem;
}

.page-hero.contact-hero .eyebrow,
.page-hero.contact-hero h1,
.page-hero.contact-hero .lead {
    color: var(--green);
}

.page-hero.contact-hero .lead {
    font-size: 0.92rem;
}

.page-hero.contact-hero h1 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.contact-section {
    background: var(--green);
    color: var(--white);
    padding: 2.6rem 0 3rem;
}

.contact-section .container {
    margin: 1.2rem auto 0;
    padding: 0 0.6rem;
}

.contact-section h2,
.contact-section p,
.contact-section a {
    color: var(--white);
}

.contact-section p {
    font-size: 0.88rem;
}

.contact-section .btn-outline {
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--white);
}

.contact-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.contact-section .form-card {
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
}

.section-cta {
    background: linear-gradient(120deg, rgba(46, 74, 58, 0.12), rgba(195, 164, 106, 0.2));
}

.section-head {
    margin-bottom: 2rem;
}

.grid-3 {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature-card,
.content-card,
.plan-card,
.book-card {
    background: var(--white);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.content-card:hover,
.plan-card:hover,
.book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(31, 31, 31, 0.16);
}

.content-card .badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    border: 1px solid var(--green);
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
}

.split {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: center;
}

.quote-box {
    background: var(--green);
    color: var(--white);
    padding: 2rem;
    border-radius: 18px;
}

.quote {
    font-size: 1.2rem;
    margin-top: 0;
}

.quote-author {
    font-size: 0.9rem;
    opacity: 0.85;
}

.text-link {
    font-weight: 600;
    color: var(--green);
    border-bottom: 1px solid var(--green);
}

.page-hero {
    padding: 3.2rem 0 2rem;
    background: linear-gradient(120deg, rgba(195, 164, 106, 0.15), rgba(46, 74, 58, 0.08));
}

.page-hero .container {
    animation: reveal 0.6s ease both;
}

.section .container {
    animation: reveal 0.7s ease both;
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.pill-grid span {
    padding: 0.4rem 1rem;
    background: var(--white);
    border-radius: 999px;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: var(--green);
}

.portrait-card {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.portrait-frame {
    height: 180px;
    border-radius: 16px;
    background: linear-gradient(135deg, #efe4d0, #d7c2a0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.4rem;
    color: var(--green);
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portrait-note {
    color: var(--muted);
    margin: 1rem 0 0;
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--white);
    padding: 1rem 1.4rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.timeline-year {
    font-weight: 700;
    color: var(--green);
}

.book-card {
    text-align: center;
}

.book-cover {
    height: 160px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d6c3a1, #b59d78);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
}

.book-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.book-cover span {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 0.5rem;
}

.price {
    display: block;
    font-weight: 700;
    color: var(--green);
    margin: 0.8rem 0;
}

.plan-card ul {
    padding-left: 1.1rem;
    color: var(--muted);
}

.plan-card.featured {
    border: 2px solid var(--gold);
    transform: translateY(-6px);
}

.form-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.auth-card {
    max-width: 520px;
    margin: 0 auto;
}

.auth-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: start;
}

.auth-grid .auth-card {
    max-width: 100%;
    margin: 0;
}

.auth-divider {
    margin: 2rem 0 1.4rem;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: rgba(46, 74, 58, 0.2);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-social {
    display: flex;
    justify-content: center;
}

.auth-footnote {
    text-align: center;
    margin-top: 1.6rem;
}

.auth-actions {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.auth-card form + form {
    margin-top: 1rem;
}

.auth-actions .btn {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.notice {
    margin-top: 1.2rem;
    background: #f2eadb;
    color: var(--green);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-weight: 600;
}

.form-errors {
    background: #f8e6e6;
    color: #7a1e1e;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.form-card form {
    display: grid;
    gap: 1rem;
}

.form-card input,
.form-card textarea,
.form-card select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    border: 1px solid #d4c6b0;
    font-family: inherit;
}

.phone-combo {
    display: grid;
    grid-template-columns: 165px 1fr;
    gap: 0.6rem;
    align-items: center;
}
.phone-combo--intl {
    grid-template-columns: 1fr;
}
.phone-combo--intl .iti {
    width: 100%;
}
.phone-combo--intl .iti__selected-flag,
.phone-combo--intl .iti--separate-dial-code .iti__selected-flag {
    border-radius: 10px 0 0 10px;
    border: 1px solid #d4c6b0;
    border-right: none;
    background: #f9f6ef;
}
.phone-combo--intl .iti input,
.phone-combo--intl .iti input[type="tel"] {
    border-radius: 10px;
}
.phone-combo--intl .iti--allow-dropdown input,
.phone-combo--intl .iti--allow-dropdown input[type="tel"],
.phone-combo--intl .iti--separate-dial-code input,
.phone-combo--intl .iti--separate-dial-code input[type="tel"] {
    padding-left: 118px !important;
}
.phone-combo--intl .iti__country-list {
    max-height: 320px;
}

@media (max-width: 520px) {
    .phone-combo {
        grid-template-columns: 1fr;
    }
    .phone-combo--intl .iti--allow-dropdown input,
    .phone-combo--intl .iti--allow-dropdown input[type="tel"],
    .phone-combo--intl .iti--separate-dial-code input,
    .phone-combo--intl .iti--separate-dial-code input[type="tel"] {
        padding-left: 108px !important;
    }
}

.profile-card input,
.profile-card textarea,
.profile-card select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    border: 1px solid #d4c6b0;
    font-family: inherit;
    background: var(--white);
}

.site-footer {
    background: var(--green);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-grid a {
    display: block;
    color: var(--white);
    margin-top: 0.4rem;
}

.footer-form {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.footer-form input {
    flex: 1;
    min-width: 150px;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    border: none;
}

.footer-form button {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    background: var(--gold);
    color: var(--white);
    font-weight: 600;
}

.footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    font-size: 0.85rem;
}

/* Mobile: keep logo + menu on the same row (drawer handles the nav) */
@media (max-width: 800px) {
    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        height: 38px;
        max-width: 170px;
    }

    .header-right {
        margin-left: auto;
    }
}

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

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger > * {
    animation: floatUp 0.8s ease both;
}

.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.2s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.3s; }

.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.2s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.3s; }
