/* VoiceLeads — landing blocks library
   Shared styles for category & city landing pages.
   Visual language: slate (#2c3e50), red (#e74c3c), blue (#3498db, #0088cc). */

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50; line-height: 1.65; background: #f8f9fa;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
html { scroll-behavior: smooth; }

.container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

/* ---------- Navbar (kept consistent with index) ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(44,62,80,0.92);
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15); border-bottom-color: transparent;
}
.navbar-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.navbar-logo {
    display: flex; align-items: center; gap: 10px;
    color: white; font-weight: 700; font-size: 1.35rem; letter-spacing: -0.5px;
}
.navbar-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.navbar-links a {
    padding: 8px 16px; color: rgba(255,255,255,0.85);
    font-weight: 500; font-size: 0.9rem; border-radius: 8px; transition: all 0.25s ease;
}
.navbar-links a:hover { color: white; background: rgba(255,255,255,0.15); }
.navbar-telegram {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; background: #0088cc; color: white;
    border-radius: 10px; font-weight: 600; font-size: 0.9rem;
    transition: all 0.25s ease; white-space: nowrap;
}
.navbar-telegram:hover {
    background: #006fa3; transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,136,204,0.4);
}
.burger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 5px; background: none; border: none; z-index: 1001;
}
.burger span {
    display: block; width: 26px; height: 2.5px; background: white;
    border-radius: 2px; transition: all 0.3s ease;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (max-width: 768px) {
    .burger { display: flex; }
    .navbar-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: rgba(44,62,80,0.97); backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px); flex-direction: column;
        justify-content: center; gap: 8px; padding: 80px 30px 30px;
        transition: right 0.35s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }
    .navbar-links.active { right: 0; }
    .navbar-links a { font-size: 1.1rem; padding: 14px 20px; width: 100%; border-radius: 10px; }
    .navbar-links a:hover { background: rgba(255,255,255,0.1); }
    .navbar-telegram.desktop-only { display: none; }
}

/* ---------- BLOCK: Hero with stats ---------- */
.hero {
    background:
        linear-gradient(135deg, rgba(44,62,80,0.88), rgba(52,73,94,0.88)),
        url('../bg.jpg') center/cover no-repeat;
    color: white; padding: 130px 20px 70px; text-align: center;
    position: relative; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(231,76,60,0.18), transparent 50%);
    pointer-events: none;
}
.hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 {
    font-size: 2.6rem; font-weight: 700; line-height: 1.2;
    letter-spacing: -1px; margin-bottom: 16px;
}
.hero p.lead {
    font-size: 1.15rem; opacity: 0.92; margin-bottom: 32px; max-width: 700px;
    margin-left: auto; margin-right: auto;
}
.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    max-width: 720px; margin: 0 auto;
}
.hero-stat {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px; padding: 18px 12px;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-stat .num {
    display: block; font-size: 1.7rem; font-weight: 800;
    color: #ffd166; letter-spacing: -0.5px;
}
.hero-stat .label {
    font-size: 0.78rem; opacity: 0.8; text-transform: uppercase;
    letter-spacing: 0.5px; margin-top: 4px;
}
@media (max-width: 600px) {
    .hero { padding: 110px 16px 50px; }
    .hero h1 { font-size: 1.85rem; }
    .hero p.lead { font-size: 1rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- BLOCK: Breadcrumb ---------- */
.breadcrumb {
    background: white; padding: 14px 20px; font-size: 0.88rem;
    border-bottom: 1px solid #e9ecef; color: #7f8c8d;
}
.breadcrumb .container { display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: #3498db; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: #bdc3c7; }

/* ---------- Section base ---------- */
.section { padding: 70px 0; }
.section.alt { background: white; }
.section h2 {
    font-size: 1.9rem; color: #2c3e50; margin-bottom: 14px;
    text-align: center; letter-spacing: -0.5px;
}
.section .section-sub {
    text-align: center; color: #7f8c8d;
    max-width: 700px; margin: 0 auto 40px; font-size: 1.02rem;
}
@media (max-width: 600px) {
    .section { padding: 50px 0; }
    .section h2 { font-size: 1.45rem; }
}

/* ---------- BLOCK: Intro text ---------- */
.intro-text { max-width: 820px; margin: 0 auto; padding: 0 4px; }
.intro-text p { margin-bottom: 16px; font-size: 1.04rem; color: #4a5568; }

/* ---------- BLOCK: Breakdowns grid ---------- */
.breakdown-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px; max-width: 1080px; margin: 0 auto;
}
.breakdown-card {
    background: white; border-radius: 14px; padding: 24px 22px;
    border: 1px solid #ecf0f1; box-shadow: 0 2px 12px rgba(44,62,80,0.04);
    display: flex; gap: 16px; align-items: flex-start;
    transition: all 0.25s ease;
}
.breakdown-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(44,62,80,0.1);
    border-color: #d6e4ff;
}
.breakdown-card .ico {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
    background: linear-gradient(135deg, #fdebec, #ffe1d6);
    display: flex; align-items: center; justify-content: center;
    color: #e74c3c; font-size: 1.3rem;
}
.breakdown-card h3 {
    font-size: 1.04rem; font-weight: 600; color: #2c3e50;
    margin-bottom: 6px;
}
.breakdown-card p {
    font-size: 0.92rem; color: #7f8c8d; line-height: 1.55;
}

/* ---------- BLOCK: Steps ---------- */
.steps-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px; max-width: 1080px; margin: 0 auto;
}
.step-card {
    background: white; border-radius: 14px; padding: 28px 24px;
    border: 1px solid #ecf0f1; position: relative;
    box-shadow: 0 2px 12px rgba(44,62,80,0.04);
}
.step-card .num {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white; font-weight: 700; font-size: 1.05rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.step-card h3 {
    font-size: 1.08rem; color: #2c3e50; margin-bottom: 8px; font-weight: 600;
}
.step-card p { color: #7f8c8d; font-size: 0.94rem; }

/* ---------- BLOCK: FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
    background: white; border-radius: 12px; margin-bottom: 12px;
    border: 1px solid #ecf0f1; overflow: hidden;
    transition: box-shadow 0.25s ease;
}
.faq-list details[open] {
    box-shadow: 0 6px 24px rgba(44,62,80,0.08);
    border-color: #d6e4ff;
}
.faq-list summary {
    cursor: pointer; padding: 18px 50px 18px 22px;
    font-weight: 600; color: #2c3e50; font-size: 1rem;
    list-style: none; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+"; position: absolute; right: 22px; top: 50%;
    transform: translateY(-50%); font-size: 1.4rem; color: #3498db;
    font-weight: 400; transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list .faq-body {
    padding: 0 22px 20px; color: #4a5568;
    font-size: 0.96rem; line-height: 1.65;
}

/* ---------- BLOCK: Cities link grid ---------- */
.link-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px; max-width: 1100px; margin: 0 auto;
}
.link-grid a {
    background: white; border: 1px solid #ecf0f1;
    padding: 14px 16px; border-radius: 10px;
    color: #2c3e50; font-weight: 500; font-size: 0.95rem;
    transition: all 0.2s ease; display: flex; align-items: center;
    gap: 8px;
}
.link-grid a::before {
    content: "→"; color: #3498db; opacity: 0; transition: all 0.2s ease;
    margin-left: -12px; width: 0;
}
.link-grid a:hover {
    border-color: #3498db; color: #3498db;
    transform: translateX(2px); box-shadow: 0 4px 14px rgba(52,152,219,0.12);
}
.link-grid a:hover::before { opacity: 1; margin-left: 0; width: auto; }

/* ---------- BLOCK: Related categories cards ---------- */
.related-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px; max-width: 1080px; margin: 0 auto;
}
.related-card {
    background: white; border-radius: 12px; padding: 22px;
    border: 1px solid #ecf0f1; transition: all 0.25s ease;
    display: flex; flex-direction: column; gap: 8px;
}
.related-card:hover {
    transform: translateY(-3px); border-color: #3498db;
    box-shadow: 0 10px 28px rgba(52,152,219,0.12);
}
.related-card .name { font-weight: 600; color: #2c3e50; font-size: 1.02rem; }
.related-card .price { color: #e74c3c; font-weight: 700; font-size: 0.95rem; }
.related-card .arrow { color: #3498db; font-size: 0.9rem; margin-top: auto; }

/* ---------- BLOCK: CTA ---------- */
.cta {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white; padding: 70px 20px; text-align: center;
    position: relative; overflow: hidden;
}
.cta::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(231,76,60,0.18), transparent 60%);
}
.cta-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.cta h2 { color: white; font-size: 1.9rem; margin-bottom: 14px; }
.cta p { opacity: 0.9; margin-bottom: 28px; font-size: 1.05rem; }
.cta-buttons {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 28px; border-radius: 10px; font-weight: 600;
    font-size: 1rem; transition: all 0.25s ease; cursor: pointer; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b); color: white;
    box-shadow: 0 6px 20px rgba(231,76,60,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px); box-shadow: 0 10px 28px rgba(231,76,60,0.45);
}
.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #006fa3); color: white;
    box-shadow: 0 6px 20px rgba(0,136,204,0.35);
}
.btn-telegram:hover {
    transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,136,204,0.45);
}
.btn-outline {
    background: transparent; color: white;
    border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1); border-color: white;
}

/* ---------- Footer ---------- */
.footer {
    background: #1a252f; color: #95a5a6; text-align: center;
    padding: 40px 20px; font-size: 0.92rem;
}
.footer a { color: #3498db; }
.footer a:hover { text-decoration: underline; }
.footer .footer-links {
    margin-top: 14px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
}
