/* =============================================================
   ECSEO — Enicomp SEO Za Firmata Landing
   Зарежда се само на страницата с page-template-seo-za-firmata.php
   ============================================================= */

.ecseo-wrap { font-family: inherit; }

/* ── HERO ── */
.ecseo-hero {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 55%, #0d4280 100%);
    padding: 90px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ecseo-hero::before {
    content: '';
    position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 60% 50%, rgba(0,120,255,0.15) 0%, transparent 55%);
    pointer-events: none;
}
.ecseo-hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.ecseo-hero-label {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #7eb8ff;
    font-size: 12px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 5px 16px; border-radius: 20px;
    margin-bottom: 22px;
    border: 1px solid rgba(126,184,255,0.3);
}
.ecseo-hero h1 {
    color: #fff; font-size: 46px; font-weight: 800;
    margin: 0 0 18px; line-height: 1.2;
}
.ecseo-hero p {
    color: rgba(255,255,255,0.76); font-size: 18px;
    margin: 0 0 34px; line-height: 1.65;
}
.ecseo-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.ecseo-hero-meta {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.ecseo-hero-meta span {
    color: rgba(255,255,255,0.65); font-size: 13.5px;
    display: flex; align-items: center; gap: 6px;
}
.ecseo-hero-meta i { color: #7eb8ff; font-size: 13px; }

/* ── SHARED BUTTONS ── */
.ecseo-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #2563eb; color: #fff !important;
    padding: 14px 32px; border-radius: 30px;
    font-weight: 700; font-size: 15px;
    text-decoration: none;
    transition: background .2s, transform .2s;
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.ecseo-btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }
.ecseo-btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); color: #fff !important;
    padding: 14px 32px; border-radius: 30px;
    font-weight: 600; font-size: 15px;
    text-decoration: none; border: 1.5px solid rgba(255,255,255,0.3);
    transition: background .2s, transform .2s;
}
.ecseo-btn-outline:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.ecseo-btn-outline-light {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); color: #fff !important;
    padding: 14px 32px; border-radius: 30px;
    font-weight: 600; font-size: 15px;
    text-decoration: none; border: 1.5px solid rgba(255,255,255,0.28);
    transition: background .2s;
}
.ecseo-btn-outline-light:hover { background: rgba(255,255,255,0.2); }

/* ── BENEFITS ── */
.ecseo-benefits-wrap { background: #f8faff; padding: 60px 20px; }
.ecseo-benefits-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.ecseo-benefit {
    background: #fff; border-radius: 14px;
    padding: 28px 22px; text-align: center;
    border: 1px solid #edf0f7;
    transition: box-shadow .2s, transform .2s;
}
.ecseo-benefit:hover { box-shadow: 0 10px 30px rgba(37,99,235,0.09); transform: translateY(-4px); }
.ecseo-benefit-icon {
    width: 54px; height: 54px; border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.ecseo-benefit-icon i { color: #fff; font-size: 22px; }
.ecseo-benefit h3 { font-size: 16px; font-weight: 700; color: #1a1a2e; margin: 0 0 10px; }
.ecseo-benefit p { font-size: 13.5px; color: #666; line-height: 1.62; margin: 0; }

/* ── SECTION HEADER ── */
.ecseo-section-header { text-align: center; margin-bottom: 44px; }
.ecseo-section-header h2 { font-size: 32px; font-weight: 800; color: #0d1b3e; margin: 0 0 12px; }
.ecseo-section-header p { font-size: 16px; color: #666; margin: 0; }

/* ── SEO PACKAGES ── */
.ecseo-packages-wrap { background: #fff; padding: 70px 20px; }
.ecseo-packages-inner { max-width: 1100px; margin: 0 auto; }
.ecseo-packages-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 22px;
}
.ecseo-package {
    border-radius: 16px; padding: 28px 24px;
    border: 2px solid #e2e8f0;
    display: flex; flex-direction: column; gap: 14px;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.ecseo-package:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }

.ecseo-pkg--grey   { background: #f8faff; border-color: #e2e8f0; }
.ecseo-pkg--blue   { background: #eff6ff; border-color: #bfdbfe; }
.ecseo-pkg--purple { background: #faf5ff; border-color: #ddd6fe; }
.ecseo-pkg--dark   { background: #0f172a; border-color: #334155; }
.ecseo-pkg--dark h3, .ecseo-pkg--dark .ecseo-pkg-label,
.ecseo-pkg--dark .ecseo-pkg-excerpt, .ecseo-pkg--dark .ecseo-price-from,
.ecseo-pkg--dark .ecseo-price-period { color: rgba(255,255,255,0.8) !important; }
.ecseo-pkg--dark .ecseo-pkg-price { color: #fff !important; }

.ecseo-pkg--popular { border-color: #2563eb; border-width: 2px; }

.ecseo-popular-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: #2563eb; color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 4px 16px; border-radius: 20px;
    white-space: nowrap;
}
.ecseo-pkg-header {
    display: flex; align-items: flex-start; gap: 14px;
}
.ecseo-pkg-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.ecseo-pkg--grey   .ecseo-pkg-icon { background: linear-gradient(135deg,#64748b,#475569); }
.ecseo-pkg--blue   .ecseo-pkg-icon { background: linear-gradient(135deg,#2563eb,#1d4ed8); }
.ecseo-pkg--purple .ecseo-pkg-icon { background: linear-gradient(135deg,#7c3aed,#6d28d9); }
.ecseo-pkg--dark   .ecseo-pkg-icon { background: linear-gradient(135deg,#f59e0b,#d97706); }
.ecseo-pkg-icon i { color: #fff; font-size: 18px; }
.ecseo-pkg-label {
    display: block; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: #888; margin-bottom: 4px;
}
.ecseo-pkg-title h3 { font-size: 16px; font-weight: 800; color: #0d1b3e; margin: 0; line-height: 1.3; }
.ecseo-pkg-excerpt {
    font-size: 13.5px; color: #666; line-height: 1.65; margin: 0; flex-grow: 1;
}
.ecseo-pkg-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; border-top: 1px solid rgba(0,0,0,0.07); margin-top: auto;
}
.ecseo-pkg--dark .ecseo-pkg-footer { border-top-color: rgba(255,255,255,0.1); }
.ecseo-pkg-price-wrap { display: flex; align-items: baseline; gap: 3px; }
.ecseo-price-from { font-size: 12px; color: #999; }
.ecseo-pkg-price { font-size: 20px; font-weight: 800; color: #0d1b3e; }
.ecseo-pkg-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.ecseo-price-period { font-size: 12px; color: #999; }
.ecseo-pkg-btn {
    display: inline-flex; align-items: center; gap: 5px;
    color: #2563eb; font-size: 13px; font-weight: 700;
    text-decoration: none; transition: gap .2s;
    white-space: nowrap;
}
.ecseo-pkg-btn:hover { gap: 9px; }
.ecseo-pkg--dark .ecseo-pkg-btn { color: #fbbf24; }

/* ── PROCESS ── */
.ecseo-process-wrap { background: #f8faff; padding: 70px 20px; }
.ecseo-process-inner { max-width: 1100px; margin: 0 auto; }
.ecseo-process-steps {
    display: flex; align-items: flex-start; gap: 0;
    max-width: 1000px; margin: 0 auto;
}
.ecseo-step { flex: 1; text-align: center; padding: 0 20px; }
.ecseo-step-num {
    font-size: 48px; font-weight: 900; color: #2563eb;
    opacity: .12; line-height: 1; margin-bottom: 10px;
}
.ecseo-step-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.ecseo-step-icon i { color: #fff; font-size: 20px; }
.ecseo-step h3 { font-size: 17px; font-weight: 700; color: #0d1b3e; margin: 0 0 10px; }
.ecseo-step p { font-size: 14px; color: #666; line-height: 1.65; margin: 0; }
.ecseo-step-arrow { padding-top: 28px; color: #bfdbfe; font-size: 22px; flex-shrink: 0; }

/* ── ADDITIONAL SERVICES ── */
.ecseo-services-wrap { background: #fff; padding: 70px 20px; border-top: 1px solid #f8faff; }
.ecseo-services-inner { max-width: 1200px; margin: 0 auto; }
.ecseo-services-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.ecseo-service-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ecseo-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37,99,235,0.09);
    border-color: #bfdbfe;
}
.ecseo-service-img { height: 150px; overflow: hidden; background: #f8faff; }
.ecseo-service-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ecseo-service-img--placeholder {
    display: flex; align-items: center; justify-content: center;
}
.ecseo-service-img--placeholder i { font-size: 32px; color: #2563eb; opacity: .2; }
.ecseo-service-body {
    padding: 16px 18px 18px;
    display: flex; flex-direction: column; gap: 8px; flex-grow: 1;
}
.ecseo-service-body h3 {
    font-size: 14.5px; font-weight: 700; color: #1a1a2e; margin: 0; line-height: 1.35;
}
.ecseo-service-body p {
    font-size: 13px; color: #666; line-height: 1.6; margin: 0; flex-grow: 1;
}
.ecseo-service-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 10px; border-top: 1px solid #f0f0f0; margin-top: 4px;
}
.ecseo-service-price {
    font-size: 15px; font-weight: 800; color: #0d1b3e;
}
.ecseo-service-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.ecseo-service-btn {
    display: inline-flex; align-items: center; gap: 5px;
    color: #2563eb; font-size: 13px; font-weight: 600;
    text-decoration: none; transition: gap .2s;
}
.ecseo-service-btn:hover { gap: 9px; }

/* ── STATS STRIP ── */
.ecseo-stats-strip {
    display: grid; grid-template-columns: repeat(4,1fr);
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 100%);
}
.ecseo-stat {
    padding: 34px 28px; display: flex; flex-direction: column; gap: 8px;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.ecseo-stat:last-child { border-right: none; }
.ecseo-stat-num { font-size: 36px; font-weight: 900; color: #7eb8ff; line-height: 1; }
.ecseo-stat-label { font-size: 13px; color: rgba(255,255,255,0.62); line-height: 1.5; }

/* ── FAQ ── */
.ecseo-faq-wrap { background: #fff; padding: 80px 20px; border-top: 1px solid #f8faff; }
.ecseo-faq-inner { max-width: 1180px; margin: 0 auto; }
.ecseo-faq-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 10px;
}
.ecseo-faq-col { display: flex; flex-direction: column; gap: 10px; }
.ecseo-faq-item {
    background: #f8faff; border-radius: 12px;
    border: 1px solid #edf0f7; overflow: hidden; transition: box-shadow .2s;
}
.ecseo-faq-item.open { box-shadow: 0 6px 20px rgba(37,99,235,0.08); border-color: #7eb8ff; background: #fff; }
.ecseo-faq-q {
    width: 100%; background: none; border: none;
    padding: 18px 48px 18px 20px;
    text-align: left; cursor: pointer;
    font-size: 14.5px; font-weight: 700; color: #1a1a2e;
    line-height: 1.4; position: relative; transition: color .2s;
}
.ecseo-faq-q::after {
    content: '+'; position: absolute; right: 18px; top: 50%;
    transform: translateY(-50%);
    font-size: 20px; font-weight: 400; color: #2563eb;
    transition: transform .25s;
}
.ecseo-faq-item.open .ecseo-faq-q::after { transform: translateY(-50%) rotate(45deg); }
.ecseo-faq-item.open .ecseo-faq-q { color: #2563eb; }
.ecseo-faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease; padding: 0 20px;
}
.ecseo-faq-item.open .ecseo-faq-a { max-height: 300px; padding: 0 20px 18px; }
.ecseo-faq-a p { font-size: 14px; color: #555; line-height: 1.7; margin: 0; }

/* ── CTA ── */
.ecseo-cta-banner {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 100%);
    padding: 80px 20px; text-align: center;
}
.ecseo-cta-inner { max-width: 640px; margin: 0 auto; }
.ecseo-cta-banner h2 { color: #fff; font-size: 32px; font-weight: 800; margin: 0 0 16px; }
.ecseo-cta-banner p { color: rgba(255,255,255,0.72); font-size: 17px; margin: 0 0 32px; line-height: 1.65; }
.ecseo-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .ecseo-packages-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 1024px) {
    .ecseo-benefits-grid { grid-template-columns: repeat(2,1fr); }
    .ecseo-services-grid { grid-template-columns: repeat(3,1fr); }
    .ecseo-stats-strip { grid-template-columns: repeat(2,1fr); }
    .ecseo-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .ecseo-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 768px) {
    .ecseo-hero h1 { font-size: 30px; }
    .ecseo-faq-grid { grid-template-columns: 1fr; }
    .ecseo-process-steps { flex-direction: column; align-items: center; }
    .ecseo-step-arrow { transform: rotate(90deg); padding: 4px 0; }
    .ecseo-services-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 580px) {
    .ecseo-packages-grid { grid-template-columns: 1fr; }
    .ecseo-benefits-grid { grid-template-columns: 1fr; }
    .ecseo-hero h1 { font-size: 26px; }
    .ecseo-hero-meta { gap: 12px; }
}
@media (max-width: 480px) {
    .ecseo-services-grid { grid-template-columns: 1fr 1fr; }
}
