/*
Theme Name: Creative Marketing
Theme URI: https://creativemarketing.ro
Author: Creative Marketing
Description: Temă agenție web — light (alb) + accent albastru. Scară & spacing preluate din referință.
Version: 1.0
Text Domain: creative-marketing
*/

/* ============================================================
   DESIGN SYSTEM GLOBAL — light (alb) + accent albastru
   Accent #2563EB · text #14121F · body 20px · scară 1:1 referință
   ============================================================ */

:root {
    --bg:         #FFFFFF; /* alb — fundal principal */
    --alt:        #F6F4FB; /* secțiuni alternate (light) */
    --surface:    #FFFFFF; /* carduri */
    --surface-2:  #F3F1FA; /* inputuri */
    --ink:        #14121F; /* text principal */
    --muted:      #6A6678; /* text secundar */
    --accent:     #2563EB; /* albastru agenție */
    --accent-dk:  #1D4ED8; /* hover */
    --accent-soft:rgba(37, 99, 235, .10);
    --footer-bg:  #14121F; /* footer întunecat */
    --on-dark:    #FFFFFF;
    --on-dark-mut:rgba(255, 255, 255, .62);
    --gold:       #E8A100;
    --border:     rgba(20, 18, 31, .12);
    --border-soft:rgba(20, 18, 31, .07);
    --shadow:     0 2px 14px rgba(20, 18, 31, .07);
    --shadow-lg:  0 16px 40px rgba(20, 18, 31, .12);

    --sp-xs: 8px; --sp-s: 16px; --sp-m: 32px; --sp-l: 64px; --sp-xl: 128px;
    --pill: 30px; --radius: 16px; --radius-sm: 0; --maxw: 1440px;
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "General Sans", system-ui, -apple-system, sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 { font-family: inherit; line-height: 1.1; margin: 0; letter-spacing: -.02em; font-weight: 600; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.shell { max-width: none; margin: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

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

/* ── Eyebrow ──────────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--accent); }

/* ── Iconițe ──────────────────────────────────────────── */
.lp-ic { display: inline-flex; width: 20px; height: 20px; flex: none; }
.lp-ic svg { width: 100%; height: 100%; }

/* ── Butoane ──────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-weight: 600; font-size: 1rem; letter-spacing: .02em; padding: 16px 22px; border-radius: var(--pill); cursor: pointer; border: 2px solid transparent; line-height: 1; white-space: nowrap; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, gap .3s ease; }
.btn:hover { gap: 12px; }
.btn .lp-ic { width: 17px; height: 17px; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dk); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--on-green { background: #fff; color: var(--accent); }
.btn--sm { padding: 12px 18px; font-size: .95rem; }
.btn--lg { padding: 18px 28px; font-size: 1.05rem; }

/* ── Brand ────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; color: var(--ink); }
.brand__mark { width: 28px; height: 28px; border-radius: 7px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.brand__mark .lp-ic { width: 16px; height: 16px; }
.brand__tag { color: var(--muted); font-weight: 400; font-size: .85rem; padding-left: 9px; margin-left: 3px; border-left: 1px solid var(--border); }
.brand__icon { height: 30px; width: auto; }
.brand img { max-height: 60px; width: auto; }
.footer-logo { height: 42px; width: auto; }

/* ── Header ───────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease; -webkit-transform: translateZ(0); transform: translateZ(0); }
.site-header.is-scrolled { background: rgba(255, 255, 255, .95); border-bottom-color: var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.site-nav { display: none; }
.site-nav ul { display: flex; align-items: center; gap: 32px; }
.site-nav a { color: var(--muted); font-weight: 500; font-size: 1rem; transition: color .2s ease; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { display: none; }
.burger { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-menu { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px; }
.mobile-menu.is-open { display: flex; }
.mobile-menu__close { position: absolute; top: 18px; right: 22px; font-size: 2.4rem; line-height: 1; color: var(--ink); background: none; border: none; cursor: pointer; }
.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 24px; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul a { color: var(--ink); font-weight: 600; font-size: 1.6rem; padding: 10px; }
.mobile-menu ul a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 6px; min-width: 220px; }

/* ── Footer (întunecat) ───────────────────────────────── */
.site-footer { background: var(--footer-bg); color: var(--on-dark); padding: var(--sp-l) 0 var(--sp-m); }
.site-footer__top { display: grid; gap: var(--sp-m); padding-bottom: var(--sp-l); }
.site-footer__brand .brand { color: var(--on-dark); font-size: 1.8rem; }
.site-footer__brand .brand__mark { background: var(--accent); }
.site-footer__brand p { color: var(--on-dark-mut); font-size: 1rem; margin-top: 16px; max-width: 340px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-m); }
.site-footer__col h4 { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-mut); margin-bottom: 16px; }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a { color: var(--on-dark); font-size: 1rem; opacity: .8; }
.site-footer__col a:hover { opacity: 1; color: #93b4ff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--on-dark-mut); font-size: .9rem; }
.site-footer__bottom a { color: var(--on-dark-mut); }
.site-footer__bottom a:hover { color: var(--on-dark); }

/* Footer simplu (LP) */
.site-footer.site-footer--simple { padding: 44px 0 28px; }
.site-footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding-bottom: 26px; }
.site-footer__row .footer-logo { margin-right: auto; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-footer__nav a { color: var(--on-dark); opacity: .85; font-size: .98rem; }
.site-footer__nav a:hover { opacity: 1; color: #93b4ff; }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .18); color: var(--on-dark); opacity: .85; transition: opacity .2s ease, border-color .2s ease, color .2s ease; }
.site-footer__social a:hover { opacity: 1; border-color: var(--accent); color: #93b4ff; }
.site-footer__social .lp-ic { width: 18px; height: 18px; }

/* ── WhatsApp flotant ─────────────────────────────────── */
.wa-float { position: fixed; bottom: 22px; right: 22px; z-index: 120; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .4); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .lp-ic { width: 30px; height: 30px; }

/* ── Reveal ───────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(22px); }
.reveal-ready [data-reveal] { transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } [data-reveal] { opacity: 1; transform: none; } }

/* ── Pagini standard ──────────────────────────────────── */
.page-content, .single-content { padding: var(--sp-l) 0; }
.single-content { max-width: 760px; }
.single-content h1 { font-size: clamp(2.4rem, 4vw, 3rem); margin-bottom: 24px; }
.single-content p { color: var(--muted); margin-bottom: 18px; }

/* Document de pagină (politici, termeni, pagini de text) */
.page-doc { max-width: 760px; margin: 0 auto; }
.page-doc__head { margin-bottom: var(--sp-m); padding-bottom: var(--sp-s); border-bottom: 1px solid var(--border); }
.page-doc__title { font-size: clamp(2.2rem, 4vw, 3rem); }
.page-doc__meta { margin-top: 12px; color: var(--muted); font-size: 1rem; }

/* Tipografie pentru conținut bogat (the_content) */
.prose { color: var(--ink); font-size: 1.125rem; line-height: 1.7; }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.25em; color: var(--muted); }
.prose h2 { font-size: 1.7rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.35rem; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.15rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent-dk); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.4em; color: var(--muted); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink); font-style: italic; }
.prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--border); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 1rem; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--alt); font-weight: 600; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }

/* ── Swiper ───────────────────────────────────────────── */
.swiper-pagination-bullet { background: rgba(20, 18, 31, .22); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--accent); width: 22px; border-radius: 5px; }

/* ── Responsive ───────────────────────────────────────── */
@media (min-width: 600px) {
    .header-actions .btn { display: inline-flex; }
    .site-footer__top { grid-template-columns: 1.4fr 2fr; }
    .site-footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .container { padding: 0 40px; }
    .site-nav { display: block; }
    .burger { display: none; }
    .site-footer { padding: var(--sp-xl) 0 var(--sp-m); }
}
