/* ============================================================
   STYLES.CSS — Main styles for Pure Living Upgrades
   Multi-page layout (shared by all pages)
============================================================ */

/* ------------------------------------------------------------
   TOKENS — Plum / Sage / Gold / Soft Lavender
------------------------------------------------------------ */
:root {
    --ivory: #F8F3EB;
    --ivory-2: #EDE3D5;
    --paper: #FFFFFF;
    --charcoal: #26342D;
    --wine: #A65D45;
    --wine-light: #C47B5E;
    --gold: #D4AD65;
    --gold-light: #F0D69B;
    --sage: #52745C;
    --sage-light: #83A58A;
    --line: rgba(38, 52, 45, .12);
    --radius-lg: 22px;
    --radius-md: 14px;
    --shadow-1: 0 26px 60px -30px rgba(38, 52, 45, .28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ivory);
    color: var(--charcoal);
    overflow-x: hidden;
}

/* ------------------------------------------------------------
   LAYOUT HELPERS
------------------------------------------------------------ */
.section-pad {
    padding: 6.5rem 0;
}

@media(max-width:767px) {
    .section-pad {
        padding: 4rem 0;
    }
}

/* ------------------------------------------------------------
   BUTTONS
------------------------------------------------------------ */
.btn-wine {
    background: var(--wine);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: .85rem 1.9rem;
    font-weight: 600;
    font-size: .92rem;
    box-shadow: 0 14px 26px -12px rgba(74, 42, 90, .5);
    transition: .35s ease;
}

.btn-wine:hover {
    background: var(--charcoal);
    color: #fff;
    transform: translateY(-2px);
}

.btn-gold-line {
    border: 1.5px solid var(--gold);
    color: var(--charcoal);
    border-radius: 100px;
    padding: .8rem 1.8rem;
    font-weight: 600;
    font-size: .92rem;
    background: transparent;
    transition: .35s ease;
}

.btn-gold-line:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

/* ------------------------------------------------------------
   SCROLL PROGRESS BAR
------------------------------------------------------------ */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wine), var(--gold));
    z-index: 2000;
    width: 0%;
}

/* ------------------------------------------------------------
   CENTERED-LOGO NAVBAR
------------------------------------------------------------ */
.nav-centered {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    padding: 1.1rem 0;
    background: rgba(245, 240, 248, 0.0);
    transition: .4s ease;
}

.nav-centered.scrolled {
    background: rgba(245, 240, 248, .92);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 24px -12px rgba(26, 16, 32, .2);
    padding: .7rem 0;
}

/* Always-solid variant for inner (non-home) pages */
body.inner-page .nav-centered {
    background: rgba(245, 240, 248, .95);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 24px -12px rgba(26, 16, 32, .2);
    padding: .8rem 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-side {
    display: flex;
    gap: 1.8rem;
    flex: 1;
}

.nav-side.right {
    justify-content: flex-end;
}

.nav-centered .nav-link-c {
    color: var(--charcoal);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    position: relative;
    transition: color .25s ease;
}

.nav-centered .nav-link-c.active {
    color: var(--wine);
}

.nav-centered .nav-link-c::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--wine);
    transition: .3s ease;
}

.nav-centered .nav-link-c:hover::after,
.nav-centered .nav-link-c.active::after {
    width: 100%;
}

.brand-center {
    font-size: 1.5rem;
    color: var(--wine);
    text-align: center;
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
    text-decoration: none;
}

.brand-center .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

@media(max-width:991px) {
    .nav-side {
        display: none;
    }
}

/* ------------------------------------------------------------
   HERO — centered statement + marquee
------------------------------------------------------------ */
.hero-v3 {
    position: relative;
    padding: 9rem 0 0;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212, 168, 83, .16), transparent 60%), var(--ivory);
}

.hero-v3 h1 {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.08;
}

.hero-v3 h1 em {
    font-style: italic;
    color: var(--wine);
}

.hero-sub {
    max-width: 620px;
    margin: 1.4rem auto 2.2rem;
    color: #5b5147;
    font-size: 1.08rem;
}

.marquee-wrap {
    overflow: hidden;
    margin-top: 4rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.6rem 0;
    background: var(--paper);
}

.marquee-track {
    display: flex;
    gap: 2.8rem;
    width: max-content;
    animation: marquee 26s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
    color: var(--charcoal);
    font-size: .95rem;
    white-space: nowrap;
}

.marquee-item i {
    color: var(--wine);
}

.hero-statbar {
    background: var(--wine);
    color: #fff;
}

.hero-statbar .stat-b {
    padding: 1.6rem 1rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.hero-statbar .stat-b:last-child {
    border-right: none;
}

.hero-statbar .num {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 700;
}

.hero-statbar .lbl {
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #d0c0e0;
}

/* ------------------------------------------------------------
   INNER PAGE — hero (compact)
------------------------------------------------------------ */
.page-hero {
    padding: 9rem 0 4rem;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212, 168, 83, .16), transparent 60%), var(--ivory);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    margin-top: 1rem;
}

.page-hero h1 em {
    font-style: italic;
    color: var(--wine);
}

.page-hero .lead {
    max-width: 680px;
    margin: 1.2rem auto 0;
    color: #5b5147;
    font-size: 1.05rem;
}

/* ------------------------------------------------------------
   ABOUT — sticky visual + tabs
------------------------------------------------------------ */
.about-sticky {
    position: sticky;
    top: 100px;
}

.about-visual {
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--sage), #4a5a3a);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-visual .big-quote {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-style: italic;
    max-width: 320px;
    text-align: center;
    padding: 2rem;
}

.about-tabs .nav-pills .nav-link {
    color: var(--charcoal);
    font-weight: 700;
    border-radius: 100px;
    padding: .7rem 1.3rem;
    margin-right: .6rem;
    margin-bottom: .6rem;
    border: 1px solid var(--line);
    background: transparent;
}

.about-tabs .nav-pills .nav-link.active {
    background: var(--wine);
    color: #fff;
    border-color: var(--wine);
}

.about-tab-pane p {
    color: #5b5147;
    font-size: 1.02rem;
    line-height: 1.8;
}

.mini-stat-row {
    display: flex;
    gap: 2rem;
    margin-top: 1.6rem;
    flex-wrap: wrap;
}

.mini-stat-row .ms {
    border-left: 2px solid var(--gold);
    padding-left: .9rem;
}

.mini-stat-row .ms .n {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--wine);
}

.mini-stat-row .ms .l {
    font-size: .76rem;
    color: #8a7f70;
    font-weight: 600;
}

/* ------------------------------------------------------------
   WHY CHOOSE US — horizontal scroll cards
------------------------------------------------------------ */
.hscroll {
    display: flex;
    gap: 1.4rem;
    overflow-x: auto;
    padding: .5rem .2rem 1.5rem;
    scroll-snap-type: x mandatory;
}

.hscroll::-webkit-scrollbar {
    height: 8px;
}

.hcard {
    scroll-snap-align: start;
    flex: 0 0 280px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    transition: .35s ease;
}

.hcard:hover {
    border-color: var(--wine);
    box-shadow: var(--shadow-1);
    transform: translateY(-6px);
}

.hcard .h-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--ivory-2);
    color: var(--wine);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.hcard p {
    color: #5b5147;
    font-size: .9rem;
}

.scroll-hint {
    font-size: .78rem;
    color: #8a7f70;
    display: flex;
    align-items: center;
    gap: .4rem;
}

/* ------------------------------------------------------------
   SERVICES — tabbed by category
------------------------------------------------------------ */
.cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 2.5rem;
}

.cat-tab {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 100px;
    padding: .6rem 1.4rem;
    font-weight: 700;
    font-size: .85rem;
    color: var(--charcoal);
    cursor: pointer;
    transition: .3s ease;
}

.cat-tab.active {
    background: var(--wine);
    color: #fff;
    border-color: var(--wine);
}

.service-card3 {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    height: 100%;
    transition: .35s ease;
}

.service-card3:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-1);
    border-color: var(--gold);
}

.service-card3 .sc-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ivory-2);
    color: var(--wine);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: .9rem;
}

.service-card3 h6 {
    font-family: var(--serif);
    font-weight: 700;
}

.service-card3 p {
    color: #5b5147;
    font-size: .86rem;
}

.service-card3 button {
    border: none;
    background: none;
    color: var(--wine);
    font-weight: 700;
    font-size: .82rem;
    padding: 0;
}

.cat-group {
    display: none;
}

.cat-group.active {
    display: block;
    animation: fadeGroup .4s ease;
}

@keyframes fadeGroup {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------
   PROCESS — offset zigzag cards
------------------------------------------------------------ */
.process-offset {
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
}

.p-card {
    flex: 1;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    text-align: center;
}

.p-card:nth-child(2) { margin-top: 2.2rem; }
.p-card:nth-child(4) { margin-top: 2.2rem; }

.p-card .p-num {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: .5rem;
}

@media(max-width:767px) {
    .process-offset {
        flex-direction: column;
    }
    .p-card:nth-child(2),
    .p-card:nth-child(4) {
        margin-top: 0;
    }
}

/* ------------------------------------------------------------
   STATS
------------------------------------------------------------ */
.stats-band3 {
    background: linear-gradient(150deg, var(--wine), #3a1a4a);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    color: #fff;
}

.stat-c3 {
    text-align: center;
}

.stat-c3 .counter {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--gold-light);
}

.stat-c3 .lbl3 {
    font-size: .8rem;
    color: #d0c0e0;
}

/* ------------------------------------------------------------
   REVIEWS — single spotlight
------------------------------------------------------------ */
.spotlight-quote {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    border: 1px solid var(--line);
    position: relative;
}

.spotlight-quote i.quote-icon {
    font-size: 2rem;
    color: var(--gold);
}

.spotlight-quote .sq-text {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-style: italic;
    margin: 1rem 0;
    color: var(--charcoal);
}

.avatar-row {
    display: flex;
    gap: .8rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.avatar-pill {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ivory-2);
    color: var(--wine);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: .3s ease;
}

.avatar-pill.active {
    border-color: var(--wine);
    background: var(--wine);
    color: #fff;
}

/* ------------------------------------------------------------
   FAQ — click list / answer panel
------------------------------------------------------------ */
.faq-list-item {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    margin-bottom: .6rem;
    transition: .3s ease;
    border: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-list-item.active {
    background: var(--wine);
    color: #fff;
    border-color: var(--wine);
}

.faq-answer-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 2rem;
    min-height: 220px;
    color: #5b5147;
    line-height: 1.8;
}

.faq-answer-panel h5 {
    font-family: var(--serif);
    color: var(--wine);
    margin-bottom: .8rem;
}

/* ------------------------------------------------------------
   SUBSCRIBE — full banner
------------------------------------------------------------ */
.subscribe-banner {
    background: var(--charcoal);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
}

.subscribe-banner .form-control {
    border-radius: 10px;
    border: none;
    padding: .8rem 1rem;
}

.subscribe-banner .form-control:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 83, .4);
}

/* ------------------------------------------------------------
   UNSUBSCRIBE PAGE — card style
------------------------------------------------------------ */
.unsubscribe-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-1);
}

.unsubscribe-card .form-control3 {
    background: var(--paper);
}

/* ------------------------------------------------------------
   CONTACT — map style
------------------------------------------------------------ */
.map-deco {
    border-radius: var(--radius-lg);
    min-height: 340px;
    background:
        linear-gradient(rgba(26, 16, 32, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 16, 32, 0.06) 1px, transparent 1px), var(--ivory-2);
    background-size: 36px 36px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin {
    width: 60px;
    height: 60px;
    border-radius: 50% 50% 50% 0;
    background: var(--wine);
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin i {
    transform: rotate(45deg);
    color: #fff;
    font-size: 1.4rem;
}

.form-control3 {
    border-radius: 12px;
    border: 1.5px solid var(--line);
    padding: .85rem 1rem;
    background: var(--paper);
}

.form-control3:focus {
    border-color: var(--wine);
    box-shadow: 0 0 0 4px rgba(74, 42, 90, .12);
}

/* ------------------------------------------------------------
   POLICY / TERMS — long-form content
------------------------------------------------------------ */
.policy-body {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 3rem 3rem;
    color: #5b5147;
    line-height: 1.8;
}

.policy-body p {
    margin-bottom: 1rem;
}

.policy-body h6 {
    color: var(--wine);
}

@media (max-width: 767px) {
    .policy-body {
        padding: 2rem 1.5rem;
    }
}

/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */
footer.v3 {
    background: var(--charcoal);
    color: #cdc3b4;
    padding: 4.2rem 0 1.5rem;
}

footer.v3 h6 {
    font-family: var(--serif);
    color: #fff;
    margin-bottom: 1rem;
}

footer.v3 a {
    color: #cdc3b4;
    text-decoration: none;
    transition: .3s;
}

footer.v3 a:hover {
    color: var(--gold-light);
}

.social-circle3 {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: .3s ease;
}

.social-circle3:hover {
    background: var(--wine);
    border-color: var(--wine);
}

/* ------------------------------------------------------------
   BACK TO TOP
------------------------------------------------------------ */
#backToTop3 {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--wine);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .35s ease;
    z-index: 1400;
    border: none;
}

#backToTop3.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ------------------------------------------------------------
   MODALS
------------------------------------------------------------ */
.modal-content {
    border-radius: var(--radius-lg);
    border: none;
}

.success-icon3 {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--ivory-2);
    color: var(--wine);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin: 0 auto 1rem;
    animation: popIn3 .5s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes popIn3 {
    0%   { transform: scale(0); }
    80%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ------------------------------------------------------------
   CTA STRIP (links to other pages)
------------------------------------------------------------ */
.cta-strip {
    background: linear-gradient(135deg, var(--wine), #3a1a4a);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    color: #fff;
}

.cta-strip h3 {
    color: #fff;
}

.cta-strip p {
    color: #d0c0e0;
}

/* ------------------------------------------------------------
   REDUCED MOTION
------------------------------------------------------------ */
@media(prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}