/*
Theme Name:  Yasaf Digital
Theme URI:   https://yasaf.digital
Author:      Yasaf Digital
Author URI:  https://yasaf.digital
Description: Tema profissional de alta conversão desenvolvido para a Yasaf Digital. Otimizado para SEO, velocidade e integração com o plugin Yasaf SEO Generator. Design moderno, dark/premium, com foco em captar leads de criação de sites, WordPress, e-commerce e desenvolvimento web.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yasaf-theme
Tags: business, dark, premium, seo, conversion, responsive, one-column, two-columns, custom-header, custom-menu, featured-images, footer-widgets
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ============================================================
   DESIGN SYSTEM — CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Brand Colors */
    --c-black:      #06080f;
    --c-deep:       #0c0f1d;
    --c-navy:       #111629;
    --c-navy-light: #1a2040;
    --c-border:     #1f2847;
    --c-border-2:   #2a3460;

    /* Accent */
    --c-primary:    #e8622a;
    --c-primary-d:  #c4481b;
    --c-primary-l:  #f07040;
    --c-gold:       #f5c842;
    --c-teal:       #1ec8b0;

    /* Text */
    --c-white:      #ffffff;
    --c-text:       #c8d0e8;
    --c-text-muted: #7a87b0;
    --c-text-dim:   #4a5580;

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body:    'DM Sans', sans-serif;
    --font-mono:    'JetBrains Mono', monospace;

    /* Spacing */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  40px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* Radius */
    --r-sm:  6px;
    --r-md:  12px;
    --r-lg:  20px;
    --r-xl:  32px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-card: 0 4px 32px rgba(0,0,0,.45);
    --shadow-glow: 0 0 40px rgba(232,98,42,.18);
    --shadow-teal: 0 0 40px rgba(30,200,176,.14);

    /* Transitions */
    --t-fast:   150ms ease;
    --t-base:   250ms ease;
    --t-slow:   400ms cubic-bezier(.16,1,.3,1);

    /* Layout */
    --max-w:    1200px;
    --max-w-sm: 780px;
    --header-h: 72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--c-black);
    color: var(--c-text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-base); }
a:hover { color: var(--c-primary); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
input, textarea, select { outline: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--c-white);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem);  font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 700; }
h4 { font-size: 1.3rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--c-white); }
em, i { font-style: italic; }

small { font-size: .85em; }

code, pre {
    font-family: var(--font-mono);
    font-size: .9em;
    background: var(--c-navy);
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
}
code { padding: 2px 8px; }
pre  { padding: 20px; overflow-x: auto; }

blockquote {
    border-left: 4px solid var(--c-primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--c-navy);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-style: italic;
    color: var(--c-text);
}

hr {
    border: none;
    border-top: 1px solid var(--c-border);
    margin: 40px 0;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}
.container-sm {
    max-width: var(--max-w-sm);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-3xl) 0;
}
.section-sm {
    padding: var(--space-2xl) 0;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap    { display: flex; align-items: center; gap: 16px; }
.flex-wrap   { flex-wrap: wrap; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 900;
    background: rgba(6, 8, 15, .85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: background var(--t-base);
}
.site-header.scrolled {
    background: rgba(6, 8, 15, .97);
    border-color: var(--c-border);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--c-white);
    letter-spacing: -0.03em;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo img {
    height: 38px;
    width: auto;
}
.site-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--c-primary);
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .95rem;
    color: #fff;
    letter-spacing: 0;
    flex-shrink: 0;
}
.site-logo-text { color: var(--c-white); }
.site-logo-text span { color: var(--c-primary); }

/* Primary Nav */
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}
.primary-nav a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--r-sm);
    font-size: .9rem;
    font-weight: 500;
    color: var(--c-text);
    transition: all var(--t-fast);
    letter-spacing: .01em;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-page-ancestor > a {
    color: var(--c-white);
    background: var(--c-navy-light);
}

/* Dropdown */
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--c-navy);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 8px;
    box-shadow: var(--shadow-card);
    z-index: 100;
}
.primary-nav .sub-menu li { display: block; }
.primary-nav .sub-menu a { padding: 9px 14px; border-radius: var(--r-sm); font-size: .88rem; }
.primary-nav .menu-item-has-children:hover .sub-menu { display: block; }

.header-cta-wrap { display: flex; align-items: center; gap: 12px; }
.header-phone {
    font-size: .85rem;
    color: var(--c-text-muted);
    display: none;
}
@media (min-width: 1024px) { .header-phone { display: block; } }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-white);
    border-radius: 2px;
    transition: all var(--t-base);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .primary-nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--c-deep);
        border-top: 1px solid var(--c-border);
        padding: 20px;
        z-index: 899;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .primary-nav.open { display: block; }
    .primary-nav ul { flex-direction: column; gap: 4px; }
    .primary-nav a { padding: 12px 16px; font-size: 1rem; }
    .primary-nav .sub-menu { display: block; position: static; box-shadow: none; border: none; background: none; padding-left: 16px; }
    .menu-toggle { display: flex; }
    .header-phone { display: none !important; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--r-full);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all var(--t-base);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background var(--t-fast);
}
.btn:hover::after { background: rgba(255,255,255,.08); }

.btn-primary {
    background: var(--c-primary);
    color: #fff;
    box-shadow: 0 4px 24px rgba(232,98,42,.35);
}
.btn-primary:hover {
    background: var(--c-primary-l);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232,98,42,.5);
}

.btn-outline {
    background: transparent;
    color: var(--c-white);
    border: 1.5px solid var(--c-border-2);
}
.btn-outline:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--c-text);
    padding: 12px 20px;
}
.btn-ghost:hover { color: var(--c-white); background: var(--c-navy-light); }

.btn-sm  { padding: 9px 20px; font-size: .8rem; }
.btn-lg  { padding: 16px 36px; font-size: 1rem; }
.btn-xl  { padding: 18px 44px; font-size: 1.05rem; }

.btn-icon { padding: 13px; border-radius: 50%; }

/* WhatsApp button */
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 24px rgba(37,211,102,.3);
}
.btn-whatsapp:hover {
    background: #1fba5a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37,211,102,.45);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h) + 60px) 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 20% 50%, rgba(232,98,42,.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 80% 20%, rgba(30,200,176,.05) 0%, transparent 60%),
        linear-gradient(180deg, var(--c-black) 0%, var(--c-deep) 100%);
}

/* Grid noise overlay */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 80%);
}

/* Decorative orbs */
.hero-bg::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,98,42,.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }
.hero-content .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(232,98,42,.1);
    border: 1px solid rgba(232,98,42,.3);
    border-radius: var(--r-full);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-primary-l);
    margin-bottom: 28px;
}
.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.4); }
}

.hero-title { margin-bottom: 24px; }
.hero-title em {
    font-style: normal;
    color: var(--c-primary);
    position: relative;
}
.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--c-primary);
    border-radius: 2px;
    opacity: .4;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--c-text-muted);
    margin-bottom: 36px;
    line-height: 1.75;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 52px;
    padding-top: 36px;
    border-top: 1px solid var(--c-border);
}
.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-white);
    letter-spacing: -0.04em;
    line-height: 1;
}
.hero-stat-number span { color: var(--c-primary); }
.hero-stat-label { font-size: .8rem; color: var(--c-text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .07em; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-mockup {
    background: var(--c-navy);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
.hero-mockup::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,98,42,.5), transparent);
}
.hero-mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}
.hero-mockup-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.hero-mockup-dot:nth-child(1) { background: #ff5f57; }
.hero-mockup-dot:nth-child(2) { background: #febc2e; }
.hero-mockup-dot:nth-child(3) { background: #28c840; }
.hero-mockup-url {
    flex: 1;
    background: var(--c-navy-light);
    border-radius: var(--r-sm);
    padding: 6px 12px;
    font-size: .78rem;
    color: var(--c-text-muted);
    font-family: var(--font-mono);
    margin-left: 8px;
}

.hero-mockup-screen {
    background: var(--c-navy-light);
    border-radius: var(--r-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
}
.hero-mockup-nav {
    background: var(--c-deep);
    height: 36px;
    border-bottom: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 20px;
}
.hero-mockup-nav-dot { width: 40px; height: 4px; background: var(--c-border-2); border-radius: 2px; }
.hero-mockup-nav-dot.active { background: var(--c-primary); width: 56px; }
.hero-mockup-body { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.hero-mockup-hero-bar { height: 60px; background: linear-gradient(135deg, var(--c-primary) 0%, #c4481b 100%); border-radius: 8px; opacity: .7; }
.hero-mockup-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; flex: 1; }
.hero-mockup-card {
    background: var(--c-navy);
    border: 1px solid var(--c-border);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hero-mockup-line { height: 5px; background: var(--c-border-2); border-radius: 3px; }
.hero-mockup-line.short { width: 60%; }
.hero-mockup-line.accent { background: rgba(232,98,42,.4); width: 40%; }

/* Floating badges */
.hero-badge {
    position: absolute;
    background: var(--c-navy);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 12px 16px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--c-white);
    white-space: nowrap;
    backdrop-filter: blur(12px);
}
.hero-badge-icon { font-size: 1.2rem; }
.hero-badge-1 { bottom: -20px; left: -30px; animation: float 4s ease-in-out infinite; }
.hero-badge-2 { top: 30px; right: -24px; animation: float 4s ease-in-out infinite .8s; }
.hero-badge-sub { font-size: .73rem; color: var(--c-text-muted); font-weight: 400; display: block; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

@media (max-width: 900px) {
    .hero-content .container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 16px;
}
.section-title { margin-bottom: 20px; }
.section-desc {
    font-size: 1.1rem;
    color: var(--c-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.service-card {
    background: var(--c-navy);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 32px;
    transition: all var(--t-slow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--c-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-slow);
}
.service-card:hover {
    border-color: var(--c-border-2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    background: rgba(232,98,42,.12);
    border: 1px solid rgba(232,98,42,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-white);
    margin: 0;
}
.service-card p {
    font-size: .9rem;
    color: var(--c-text-muted);
    line-height: 1.65;
    margin: 0;
}
.service-card .btn-ghost {
    margin-top: auto;
    padding: 0;
    justify-content: flex-start;
    color: var(--c-primary);
    font-size: .85rem;
    font-weight: 600;
    background: none;
}
.service-card .btn-ghost:hover { color: var(--c-primary-l); background: none; transform: none; }
.service-card .btn-ghost::after { display: none; }

/* ============================================================
   WHY US / FEATURES
   ============================================================ */
.features-section {
    background: var(--c-deep);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.feature-item { display: flex; gap: 20px; align-items: flex-start; }
.feature-number {
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 800;
    color: var(--c-primary);
    letter-spacing: .08em;
    background: rgba(232,98,42,.1);
    border: 1px solid rgba(232,98,42,.25);
    width: 36px; height: 36px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}
.feature-body h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--c-white); }
.feature-body p  { font-size: .9rem; color: var(--c-text-muted); margin: 0; line-height: 1.65; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps { position: relative; }
.process-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-border) 100%);
}

.process-step {
    display: flex;
    gap: 28px;
    padding: 28px 0;
    position: relative;
}
.process-step:first-child { padding-top: 0; }
.process-step:last-child  { padding-bottom: 0; }

.process-step-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--c-navy);
    border: 2px solid var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--c-primary);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.process-step-body { padding-top: 12px; }
.process-step-body h4 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step-body p  { font-size: .9rem; color: var(--c-text-muted); margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: var(--c-navy);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 32px;
    position: relative;
    transition: transform var(--t-slow);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 28px;
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: rgba(232,98,42,.15);
}

.testimonial-stars { color: var(--c-gold); margin-bottom: 16px; letter-spacing: 2px; font-size: .9rem; }
.testimonial-text  { color: var(--c-text); font-size: .95rem; line-height: 1.75; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary), var(--c-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .9rem;
    color: #fff;
    flex-shrink: 0;
}
.testimonial-name    { font-weight: 700; font-size: .9rem; color: var(--c-white); }
.testimonial-company { font-size: .8rem; color: var(--c-text-muted); margin-top: 2px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, rgba(232,98,42,.08) 0%, rgba(30,200,176,.05) 100%);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(232,98,42,.3), transparent 50%, rgba(30,200,176,.15));
    z-index: -1;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 1px;
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { color: var(--c-text-muted); font-size: 1.1rem; margin-bottom: 36px; }
.cta-actions    { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   BLOG — POST CARDS
   ============================================================ */
.post-card {
    background: var(--c-navy);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all var(--t-slow);
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--c-border-2);
}
.post-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--c-navy-light);
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }

.post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.post-card-meta { display: flex; align-items: center; gap: 12px; font-size: .78rem; color: var(--c-text-dim); }
.post-card-cat {
    color: var(--c-primary);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: .72rem;
}
.post-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-white);
    line-height: 1.3;
    transition: color var(--t-base);
}
.post-card:hover .post-card-title { color: var(--c-primary); }
.post-card-excerpt { font-size: .88rem; color: var(--c-text-muted); line-height: 1.65; margin: 0; flex: 1; }
.post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--c-border);
    margin-top: auto;
}
.post-card-readmore {
    font-size: .82rem;
    font-weight: 700;
    color: var(--c-primary);
    text-transform: uppercase;
    letter-spacing: .05em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.post-card-readmore::after { content: '→'; }
.post-card-readmore:hover { color: var(--c-primary-l); }

/* ============================================================
   SINGLE POST / PAGE
   ============================================================ */
.page-hero {
    padding: calc(var(--header-h) + 60px) 0 60px;
    background: linear-gradient(180deg, var(--c-deep) 0%, var(--c-black) 100%);
    border-bottom: 1px solid var(--c-border);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

.page-hero-content { position: relative; z-index: 2; }
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--c-text-dim);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.page-breadcrumb a:hover { color: var(--c-primary); }
.page-breadcrumb .sep { opacity: .4; }
.page-breadcrumb .current { color: var(--c-text-muted); }

.page-hero-meta { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.page-cat-badge {
    background: rgba(232,98,42,.12);
    border: 1px solid rgba(232,98,42,.3);
    color: var(--c-primary-l);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: var(--r-full);
}
.page-date { font-size: .83rem; color: var(--c-text-dim); }

/* Article content */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--c-text);
}
.entry-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin: 48px 0 20px;
    padding-top: 16px;
    border-top: 1px solid var(--c-border);
}
.entry-content h3 { font-size: 1.4rem; margin: 36px 0 16px; color: var(--c-white); }
.entry-content h4 { font-size: 1.15rem; margin: 28px 0 12px; }

.entry-content ul,
.entry-content ol { padding-left: 24px; margin-bottom: 1.4em; }
.entry-content ul li { list-style: none; padding-left: 8px; position: relative; margin-bottom: .5em; }
.entry-content ul li::before {
    content: '';
    position: absolute;
    left: -16px;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-primary);
}
.entry-content ol { list-style: decimal; }
.entry-content ol li { margin-bottom: .5em; }

.entry-content a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--c-primary-l); }

.entry-content img {
    width: 100%;
    border-radius: var(--r-md);
    margin: 28px 0;
    border: 1px solid var(--c-border);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: .95rem;
}
.entry-content th, .entry-content td {
    padding: 12px 16px;
    border: 1px solid var(--c-border);
    text-align: left;
}
.entry-content th { background: var(--c-navy); color: var(--c-white); font-weight: 700; }
.entry-content tr:nth-child(even) td { background: rgba(255,255,255,.02); }

/* Yasaf CTA Block (plugin) */
.yasaf-cta-block {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-d) 100%) !important;
    border-radius: var(--r-lg) !important;
    padding: 36px 40px !important;
    margin: 40px 0 !important;
    text-align: center;
    box-shadow: var(--shadow-glow) !important;
}
.yasaf-cta-text { font-family: var(--font-display); font-size: 1.3rem !important; font-weight: 700 !important; }
.yasaf-cta-button {
    background: #fff !important;
    color: var(--c-primary) !important;
    padding: 14px 32px !important;
    border-radius: var(--r-full) !important;
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    font-size: .95rem !important;
    letter-spacing: .03em !important;
}
.yasaf-cta-button:hover { background: var(--c-gold) !important; color: #000 !important; transform: translateY(-2px) !important; }

.yasaf-related-posts {
    background: var(--c-navy) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--r-md) !important;
}
.yasaf-related-posts h3 { color: var(--c-white) !important; font-family: var(--font-display) !important; }
.yasaf-related-posts a  { color: var(--c-primary) !important; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 28px; }

.widget {
    background: var(--c-navy);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 24px;
}
.widget-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-border);
    letter-spacing: -0.01em;
}

.widget ul { display: flex; flex-direction: column; gap: 8px; }
.widget ul li a {
    font-size: .9rem;
    color: var(--c-text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
    transition: color var(--t-base);
}
.widget ul li a:hover { color: var(--c-primary); }
.widget ul li a .count {
    background: var(--c-navy-light);
    border-radius: 20px;
    padding: 1px 8px;
    font-size: .75rem;
    color: var(--c-text-dim);
}

.widget-cta {
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d));
    border: none;
    text-align: center;
}
.widget-cta .widget-title { border-color: rgba(255,255,255,.2); color: #fff; }
.widget-cta p { font-size: .9rem; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.widget-cta .btn { width: 100%; justify-content: center; background: #fff; color: var(--c-primary); }
.widget-cta .btn:hover { background: var(--c-gold); color: #000; }
.widget-cta .btn::after { display: none; }

/* ============================================================
   FAQ (from plugin)
   ============================================================ */
.faq-section h2 { margin-bottom: 32px; }
.faq-item {
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color var(--t-base);
}
.faq-item.open { border-color: var(--c-border-2); }
.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    color: var(--c-white);
    font-size: 1rem;
    gap: 16px;
    user-select: none;
}
.faq-question:hover { color: var(--c-primary); }
.faq-icon { font-size: 1.4rem; color: var(--c-primary); transition: transform var(--t-base); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 20px; color: var(--c-text-muted); font-size: .95rem; line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--c-deep);
    border-top: 1px solid var(--c-border);
    margin-top: auto;
}

.footer-main {
    padding: var(--space-3xl) 0 var(--space-2xl);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .site-logo { margin-bottom: 20px; display: inline-flex; }
.footer-brand p { font-size: .9rem; color: var(--c-text-muted); line-height: 1.75; margin-bottom: 24px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: var(--r-sm);
    border: 1px solid var(--c-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--c-text-muted);
    font-size: .9rem;
    transition: all var(--t-base);
}
.footer-social a:hover { border-color: var(--c-primary); color: var(--c-primary); background: rgba(232,98,42,.08); }

.footer-col h4 {
    font-family: var(--font-display);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-white);
    margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    font-size: .88rem;
    color: var(--c-text-muted);
    transition: color var(--t-base);
}
.footer-col ul li a:hover { color: var(--c-primary); }

.footer-bottom {
    border-top: 1px solid var(--c-border);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom p { font-size: .83rem; color: var(--c-text-dim); margin: 0; }
.footer-bottom a { color: var(--c-primary); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .82rem; color: var(--c-text-dim); }
.footer-bottom-links a:hover { color: var(--c-primary); }

@media (max-width: 900px) {
    .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
    .footer-main { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border-radius: var(--r-full);
    padding: 14px 20px;
    font-weight: 700;
    font-size: .88rem;
    box-shadow: 0 6px 32px rgba(37,211,102,.4);
    transition: all var(--t-base);
    text-decoration: none;
    max-width: 54px;
    overflow: hidden;
    white-space: nowrap;
}
.whatsapp-float:hover {
    max-width: 240px;
    color: #fff;
    box-shadow: 0 8px 40px rgba(37,211,102,.55);
    transform: translateY(-2px);
}
.whatsapp-float svg { width: 22px; height: 22px; flex-shrink: 0; }
.whatsapp-float span { opacity: 0; transition: opacity var(--t-base); overflow: hidden; }
.whatsapp-float:hover span { opacity: 1; }

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.hidden  { display: none !important; }

/* Fade-in animation for page elements */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Tags */
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--c-navy-light);
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    font-size: .77rem;
    font-weight: 600;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    transition: all var(--t-fast);
}
.tag:hover { border-color: var(--c-primary); color: var(--c-primary); background: rgba(232,98,42,.07); }

/* Post tags */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.pagination a,
.pagination span {
    width: 42px; height: 42px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    font-weight: 600;
    border: 1px solid var(--c-border);
    color: var(--c-text-muted);
    transition: all var(--t-base);
}
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); background: rgba(232,98,42,.08); }
.pagination .current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* Main layout for blog/archive */
.site-main-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
    padding: var(--space-3xl) 0;
}
@media (max-width: 1024px) { .site-main-inner { grid-template-columns: 1fr; } .sidebar { display: none; } }

/* Grid for posts */
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 700px) { .posts-grid { grid-template-columns: 1fr; } }

/* ============================================================
   RESPONSIVE GLOBAL
   ============================================================ */
@media (max-width: 768px) {
    :root { --space-3xl: 60px; --space-2xl: 48px; }
    .container { padding: 0 20px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .cta-section { padding: var(--space-2xl) var(--space-lg); }
}

/* ============================================================
   SCROLL BAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--c-black); }
::-webkit-scrollbar-thumb { background: var(--c-border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-primary); }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .site-header, .whatsapp-float, .sidebar, .site-footer { display: none; }
    body { background: #fff; color: #000; }
}
