/* RoRI static site styles */
:root {
  --bg: #F7F1E8;
  --surface: #EFE6D6;
  --card: #FFFFFF;
  --fg: #2A2320;
  --muted: #6E6259;
  --border: #E3D6C0;
  --brand: #7B3FE4;
  --brand-fg: #FFFFFF;
  --brand-soft: rgba(123, 63, 228, 0.08);
  --radius: 20px;
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Figtree', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Outfit', system-ui, sans-serif; font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.15; }
p { margin: 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brand); }
.muted { color: var(--muted); }
main { flex: 1; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 241, 232, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(227, 214, 192, 0.6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 32px; width: auto; }
.nav { display: none; gap: 32px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--fg); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--brand); color: var(--brand-fg); border: none; cursor: pointer;
  transition: opacity .2s, transform .1s;
}
.btn:hover { opacity: 0.9; }
.btn-outline { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; background: transparent;
  border: 1px solid var(--border); cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid rgba(227, 214, 192, 0.6); background: var(--bg); }
.mobile-nav.open { display: block; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 4px; padding: 16px 0 20px; }
.mobile-nav a { padding: 12px 4px; font-size: 16px; font-weight: 500; color: var(--muted); border-radius: 8px; }
.mobile-nav a.active { color: var(--fg); }
.mobile-nav .btn { margin-top: 8px; }

@media (min-width: 768px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none !important; }
}

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 600; margin-top: 20px; }
.hero p.lead { font-size: 18px; color: var(--muted); margin-top: 20px; max-width: 520px; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4/3; background: var(--surface); box-shadow: 0 20px 60px -20px rgba(42, 35, 32, 0.25); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } .hero { padding: 96px 0 64px; } }

/* Sections */
.section { padding: 64px 0; }
.section-header { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section-header h2 { font-size: clamp(28px, 3.5vw, 40px); margin-top: 12px; }
.section-header p { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* Grids */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Value / feature card */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.value-icon { font-size: 28px; margin-bottom: 12px; display: block; }

/* Category / product cards */
.cat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(42, 35, 32, 0.2); }
.cat-card .thumb { aspect-ratio: 4/3; background: var(--surface); overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.cat-card h3 { font-size: 20px; margin-bottom: 6px; }
.cat-card .tagline { color: var(--brand); font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.cat-card p { color: var(--muted); font-size: 15px; }
.cat-card .link { margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--brand); }

/* Product listing (produse.html) */
.prod-block { margin-top: 64px; }
.prod-block:first-child { margin-top: 0; }
.prod-block .prod-head { max-width: 700px; margin-bottom: 32px; }
.prod-block h2 { font-size: 32px; }
.prod-block .prod-head p { color: var(--muted); margin-top: 12px; }
.prod-item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.prod-item .thumb { aspect-ratio: 1/1; background: var(--surface); display: grid; place-items: center; }
.prod-item .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.prod-item .body { padding: 24px; }
.prod-item h3 { font-size: 20px; }
.prod-item .subtitle { color: var(--muted); font-size: 14px; margin-top: 6px; }
.prod-item .volume { display: inline-block; margin-top: 12px; padding: 4px 12px; background: var(--brand-soft); color: var(--brand); border-radius: 999px; font-size: 12px; font-weight: 600; }
.prod-item ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prod-item ul li { font-size: 13px; padding: 4px 10px; background: var(--surface); border-radius: 999px; color: var(--fg); }

/* Blog cards */
.post-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .meta { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.post-card h3 { font-size: 20px; margin-top: 10px; }
.post-card p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.post-card .read { margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--brand); }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.article .cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; margin-bottom: 32px; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article h1 { font-size: clamp(32px, 4vw, 44px); margin: 16px 0; }
.article .meta { color: var(--muted); font-size: 14px; }
.article .content p { font-size: 17px; color: var(--fg); margin-top: 20px; line-height: 1.7; }
.article .back { display: inline-block; margin-bottom: 24px; color: var(--brand); font-size: 14px; font-weight: 500; }

/* CTA banner */
.cta-banner { background: var(--brand); color: var(--brand-fg); border-radius: 32px; padding: 56px 32px; text-align: center; }
.cta-banner h2 { color: var(--brand-fg); font-size: clamp(28px, 3.5vw, 36px); }
.cta-banner p { margin-top: 16px; opacity: 0.9; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { margin-top: 24px; background: var(--brand-fg); color: var(--brand); }

/* Contact */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 64px; } }
.contact-info h1 { font-size: clamp(32px, 4vw, 48px); margin-top: 12px; }
.contact-info p { margin-top: 20px; color: var(--muted); }
.contact-info ul { list-style: none; padding: 0; margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.contact-info li { display: flex; gap: 12px; align-items: flex-start; }
.contact-info .icon { width: 36px; height: 36px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.contact-info a { color: var(--muted); }
.contact-info a:hover { color: var(--brand); }
form.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: 32px; }
form.contact-form label { display: block; font-size: 14px; margin-bottom: 16px; }
form.contact-form label span { font-weight: 500; display: block; margin-bottom: 8px; }
form.contact-form input, form.contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px;
  font-size: 14px; font-family: inherit; background: var(--bg); color: var(--fg); outline: none;
  transition: border-color .2s;
}
form.contact-form input:focus, form.contact-form textarea:focus { border-color: var(--brand); }
form.contact-form textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 32px; margin-top: 64px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 300px; }
.footer h4 { font-family: 'Outfit', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--muted); font-size: 14px; }
.footer a:hover { color: var(--brand); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); text-align: center; }


/* ---- Cookie banner + WhatsApp button ---- */
.wa-float{
  position:fixed;right:18px;bottom:18px;z-index:60;
  width:56px;height:56px;border-radius:50%;
  background:#25D366;color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 20px rgba(37,211,102,.45);
  transition:transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover{transform:scale(1.08);box-shadow:0 8px 24px rgba(37,211,102,.55)}
.cookie-banner{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:55;
  background:#fff;border:1px solid var(--border, #e5dcc9);
  border-radius:16px;box-shadow:0 10px 40px rgba(0,0,0,.12);
  padding:18px 20px;
}
.cookie-inner{display:flex;gap:16px;align-items:center;flex-wrap:wrap;max-width:1100px;margin:0 auto}
.cookie-inner p{margin:0;flex:1;min-width:240px;font-size:14px;line-height:1.5;color:#3d3527}
.cookie-inner a{color:var(--brand,#7B3FE4);text-decoration:underline}
.cookie-actions{display:flex;gap:10px;flex-shrink:0}
.btn-ghost{background:transparent;color:#3d3527;border:1px solid #d9cfba}
.btn-ghost:hover{background:#f5efe1}
@media (max-width:640px){
  .cookie-banner{left:10px;right:10px;bottom:10px;padding:14px}
  .cookie-inner p{font-size:13px}
  .wa-float{width:52px;height:52px;right:12px;bottom:88px}
}

/* Legal pages */
.legal{max-width:820px;margin:0 auto;padding:60px 0}
.legal h1{font-size:2.2rem;margin-bottom:8px}
.legal .updated{color:#8a7c66;font-size:14px;margin-bottom:32px}
.legal h2{font-size:1.4rem;margin-top:36px;margin-bottom:12px;color:#2b2418}
.legal h3{font-size:1.1rem;margin-top:24px;margin-bottom:8px}
.legal p, .legal li{line-height:1.7;color:#3d3527}
.legal ul{padding-left:22px;margin:12px 0}
.legal a{color:var(--brand,#7B3FE4)}
