/* ============================================================
   Maria Marsiglia Wellness — Frontend
   ============================================================ */
:root{--bg:#FEFCF9;--bg2:#FBF7F2;--bg3:#F5EFE7;--blush:#C9968E;--blush-lt:#D4ADA6;--sage:#9BAF8E;--gold:#C8A96E;--dark:#2A2522;--taupe:#8C7E74;--gray:#A89B91;--border:#E8DDD3;--white:#FFF;--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',-apple-system,sans-serif;--max:1200px;--nav:70px}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{font-family:var(--sans);background:var(--bg);color:var(--dark);line-height:1.7;font-size:15px}
a{text-decoration:none;color:inherit;transition:color .3s}
img{max-width:100%;height:auto;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 2rem}

/* NAV */
.nav{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(254,252,249,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(232,221,211,.5);height:var(--nav);transition:all .4s}
.nav-inner{max-width:var(--max);margin:0 auto;padding:0 2rem;display:flex;align-items:center;justify-content:space-between;height:100%}
.nav-logo{font-family:var(--serif);font-size:1.2rem;font-weight:500}
.nav-logo em{color:var(--blush);font-style:italic}
.nav-links{display:flex;align-items:center;gap:2rem}
.nav-links a{font-size:.82rem;color:var(--taupe);letter-spacing:.03em;transition:color .3s}
.nav-links a:hover,.nav-links a.active{color:var(--dark)}
.nav-cta{background:var(--dark);color:var(--white);padding:.55rem 1.3rem;border-radius:100px;font-size:.75rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;transition:background .3s}
.nav-cta:hover{background:var(--blush);color:var(--white)}
.nav-toggle{display:none;background:none;border:none;font-size:1.4rem;color:var(--dark);cursor:pointer}

/* HERO */
.hero{padding:calc(var(--nav) + 4rem) 0 4rem;background:linear-gradient(180deg,var(--bg) 0%,var(--bg2) 100%);position:relative;overflow:hidden}
.hero::after{content:'';position:absolute;top:-50%;right:-20%;width:60%;height:200%;background:radial-gradient(ellipse,rgba(201,150,142,.06) 0%,transparent 70%);pointer-events:none}
.hero-inner{max-width:var(--max);margin:0 auto;padding:0 2rem;display:flex;align-items:center;gap:4rem}
.hero-content{flex:1}
.hero-tag{display:inline-block;padding:.35rem 1rem;border-radius:100px;background:rgba(201,150,142,.1);color:var(--blush);font-size:.7rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;margin-bottom:1.5rem}
.hero-title{font-family:var(--serif);font-size:3.2rem;font-weight:400;line-height:1.15;letter-spacing:-.02em;margin-bottom:1.2rem}
.hero-title em{color:var(--blush);font-style:italic}
.hero-desc{font-size:1rem;color:var(--taupe);line-height:1.8;max-width:480px;margin-bottom:2rem}
.hero-actions{display:flex;gap:1rem;align-items:center}
.btn-primary{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 2rem;border-radius:100px;font-size:.82rem;font-weight:500;letter-spacing:.05em;border:none;background:var(--dark);color:var(--white);transition:all .3s;cursor:pointer}
.btn-primary:hover{background:var(--blush);transform:translateY(-1px)}
.btn-outline{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 2rem;border-radius:100px;font-size:.82rem;font-weight:500;background:transparent;border:1px solid var(--border);color:var(--dark);transition:all .3s}
.btn-outline:hover{border-color:var(--blush);color:var(--blush)}

.hero-profile{width:280px;flex-shrink:0;background:var(--white);border-radius:24px;padding:2rem;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.06);border:1px solid rgba(232,221,211,.5);position:relative;z-index:1}
.hero-avatar{width:90px;height:90px;border-radius:50%;margin:0 auto 1rem;background:linear-gradient(135deg,var(--blush-lt),var(--sage));display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:2rem;color:var(--white);font-weight:500}
.hero-profile h3{font-family:var(--serif);font-size:1.1rem;margin-bottom:.2rem}
.hero-handle{font-size:.78rem;color:var(--blush);margin-bottom:1rem}
.hero-stats{display:flex;justify-content:center;gap:1.5rem;margin-bottom:1.2rem;padding-bottom:1rem;border-bottom:1px solid var(--border)}
.hero-stat-num{font-family:var(--serif);font-size:1.1rem;font-weight:600;display:block}
.hero-stat-label{font-size:.65rem;color:var(--taupe);text-transform:uppercase;letter-spacing:.06em}
.hero-follow-btn{display:block;width:100%;padding:.65rem;border-radius:10px;background:linear-gradient(135deg,var(--blush),#B07E76);color:var(--white);font-size:.8rem;font-weight:500;border:none;cursor:pointer;transition:transform .3s}
.hero-follow-btn:hover{transform:scale(1.02)}

/* SECTIONS */
.section{padding:5rem 0}
.section-alt{background:var(--bg2)}
.section-header{text-align:center;margin-bottom:3rem}
.section-tag{display:inline-block;font-size:.65rem;font-weight:500;letter-spacing:.15em;text-transform:uppercase;color:var(--blush);margin-bottom:.8rem}
.section-title{font-family:var(--serif);font-size:2.2rem;font-weight:400;letter-spacing:-.01em}
.section-desc{color:var(--taupe);font-size:.95rem;max-width:500px;margin:.8rem auto 0}

/* PILLARS */
.pillars-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.pillar-card{background:var(--white);border-radius:16px;padding:2.5rem 2rem;text-align:center;border:1px solid var(--border);transition:all .4s}
.pillar-card:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(0,0,0,.06);border-color:var(--blush-lt)}
.pillar-icon{font-size:2.5rem;margin-bottom:1rem}
.pillar-card h3{font-family:var(--serif);font-size:1.15rem;margin-bottom:.6rem}
.pillar-card p{font-size:.85rem;color:var(--taupe);line-height:1.7}

/* PRODUCT CARDS */
.products-filters{display:flex;justify-content:center;gap:.5rem;margin-bottom:2rem;flex-wrap:wrap}
.filter-btn{padding:.45rem 1.2rem;border-radius:100px;font-size:.75rem;border:1px solid var(--border);background:transparent;color:var(--taupe);transition:all .3s;cursor:pointer}
.filter-btn:hover,.filter-btn.active{background:var(--dark);color:var(--white);border-color:var(--dark)}
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.product-card{background:var(--white);border-radius:16px;overflow:hidden;border:1px solid var(--border);transition:all .4s}
.product-card:hover{transform:translateY(-3px);box-shadow:0 15px 40px rgba(0,0,0,.06)}
.product-card-img{aspect-ratio:1;background:var(--bg3);display:flex;align-items:center;justify-content:center;font-size:3rem;position:relative;overflow:hidden}
.product-card-img img{width:100%;height:100%;object-fit:cover}
.product-badge{position:absolute;top:.8rem;left:.8rem;padding:.2rem .7rem;border-radius:100px;font-size:.6rem;font-weight:500;background:var(--blush);color:var(--white)}
.product-card-body{padding:1rem 1.2rem}
.product-card-body h3{font-size:.88rem;font-weight:500;margin-bottom:.3rem;line-height:1.3}
.product-card-body .price{font-family:var(--serif);font-size:1rem;color:var(--blush);font-weight:500}
.product-card-body .price-old{text-decoration:line-through;color:var(--gray);font-size:.82rem;font-family:var(--sans)}
.product-card-cta{display:block;text-align:center;padding:.6rem;font-size:.75rem;font-weight:500;color:var(--dark);border-top:1px solid var(--border);transition:all .3s}
.product-card-cta:hover{background:var(--dark);color:var(--white)}
.affiliate-disclaimer{text-align:center;font-size:.7rem;color:var(--gray);margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border)}

/* NEWSLETTER */
.newsletter-section{background:linear-gradient(135deg,var(--dark) 0%,#3A3430 100%);color:var(--white);text-align:center}
.newsletter-section .section-tag{color:var(--gold)}
.newsletter-section .section-title{color:var(--white)}
.newsletter-section .section-desc{color:rgba(255,255,255,.6)}
.newsletter-form{display:flex;gap:.8rem;max-width:460px;margin:2rem auto 0}
.newsletter-form input{flex:1;padding:.85rem 1.2rem;border-radius:100px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.06);color:var(--white);font-family:var(--sans);font-size:.88rem;outline:none}
.newsletter-form input::placeholder{color:rgba(255,255,255,.35)}
.newsletter-form input:focus{border-color:var(--blush)}
.newsletter-form button{padding:.85rem 2rem;border-radius:100px;border:none;background:var(--blush);color:var(--white);font-size:.82rem;font-weight:500;cursor:pointer;white-space:nowrap;transition:background .3s}
.newsletter-form button:hover{background:var(--gold)}
.newsletter-msg{margin-top:.8rem;font-size:.82rem}

/* FOOTER */
.site-footer{background:var(--dark);color:rgba(255,255,255,.5);padding:3rem 0 2rem}
.footer-inner{max-width:var(--max);margin:0 auto;padding:0 2rem}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-brand .nav-logo{color:var(--white);font-size:1.3rem}
.footer-brand p{font-size:.82rem;margin-top:.5rem;max-width:280px;line-height:1.6}
.footer-links{display:flex;gap:3rem}
.footer-col h4{font-size:.65rem;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.3);margin-bottom:.8rem}
.footer-col a{display:block;font-size:.82rem;color:rgba(255,255,255,.5);padding:.2rem 0;transition:color .3s}
.footer-col a:hover{color:var(--blush-lt)}
.footer-bottom{display:flex;justify-content:space-between;font-size:.72rem}

/* ARTICLE CARDS */
.articles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.article-card{background:var(--white);border-radius:16px;overflow:hidden;border:1px solid var(--border);transition:all .4s}
.article-card:hover{transform:translateY(-3px);box-shadow:0 15px 40px rgba(0,0,0,.06)}
.article-card-img{aspect-ratio:16/10;background:var(--bg3);overflow:hidden}
.article-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.article-card:hover .article-card-img img{transform:scale(1.05)}
.article-card-body{padding:1.3rem}
.article-card-cat{font-size:.6rem;letter-spacing:.12em;text-transform:uppercase;color:var(--blush);font-weight:500;margin-bottom:.5rem}
.article-card-body h3{font-family:var(--serif);font-size:1.05rem;margin-bottom:.5rem;line-height:1.3}
.article-card-body p{font-size:.82rem;color:var(--taupe);line-height:1.6}
.article-card-meta{display:flex;justify-content:space-between;font-size:.72rem;color:var(--gray);margin-top:.8rem;padding-top:.8rem;border-top:1px solid var(--border)}

/* PAGE */
.page-container{padding:calc(var(--nav) + 3rem) 0 4rem}
.page-container h1{font-family:var(--serif);font-size:2.4rem;font-weight:400;margin-bottom:1.5rem}
.page-container .content{max-width:720px;font-size:.95rem;line-height:1.8;color:var(--taupe)}
.page-container .content h2{font-family:var(--serif);font-size:1.5rem;color:var(--dark);margin:2rem 0 .8rem}
.page-container .content p{margin-bottom:1rem}

/* RESPONSIVE */
@media(max-width:1024px){.hero-inner{flex-direction:column;text-align:center;gap:2rem}.hero-desc{margin:0 auto 2rem}.hero-actions{justify-content:center}.products-grid{grid-template-columns:repeat(3,1fr)}.footer-top{flex-direction:column}}
@media(max-width:768px){.nav-links{display:none}.nav-links.open{display:flex;flex-direction:column;position:absolute;top:var(--nav);left:0;right:0;background:var(--bg);padding:1.5rem 2rem;border-bottom:1px solid var(--border)}.nav-toggle{display:block}.hero-title{font-size:2.2rem}.hero-profile{width:100%;max-width:280px;margin:0 auto}.pillars-grid,.articles-grid{grid-template-columns:1fr}.products-grid{grid-template-columns:repeat(2,1fr)}.newsletter-form{flex-direction:column}.section{padding:3.5rem 0}.section-title{font-size:1.7rem}.footer-links{flex-direction:column;gap:1.5rem}.footer-bottom{flex-direction:column;gap:.5rem}}
