/**
* Theme Name: Fikco Child
* Description: This is a child theme of Fikco, generated by Merlin WP.
* Author: <a href="https://www.linkedin.com/in/bohdan-fedorov-137636263/">Bohdan Fedorov</a>
* Template: fikco
* Version: 2.7.0
*/

/* ═══════════════════════════════════════════
   Service Page Template (single-fikco_services)
   ═══════════════════════════════════════════ */

:root {
    --primary:          #F35355;
    --primary_hover:    #DA4A4C;
    --text:             #555555;
    --text_light:       #999999;
    --accent:           #000000;
    --border:           #DCDCDC;
    --background:       #FFFFFF;
    --background_light: #F6F3EC;
    --dark:             #353F41;
}

body.single-fikco_services #page .site-content {
    margin-top: 0;
    margin-bottom: 0;
}

.hb-service-wrap {
    --hb-primary: var(--primary);
    --hb-primary-hover: var(--primary_hover);
    --hb-dark: var(--dark);
    --hb-gray: var(--background_light);
    --hb-border: var(--border);
    --hb-text: var(--text);
    --hb-radius: 6px;
    font-family: inherit;
}

/* Intro Hero */
.hb-intro {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 80px 24px;
    overflow: hidden;
}
/* WebP plugin may wrap <img> in <picture> — keep it as cover bg */
.hb-intro > picture {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 0;
}
.hb-intro-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
/* When inside the plugin's <picture> wrapper, switch to fill-parent mode */
.hb-intro > picture .hb-intro-img {
    position: static;
    inset: auto;
}
.hb-intro-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1;
}
.hb-intro-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
}
.hb-intro h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
    text-transform: none;
}
.hb-intro-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,.9);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}
.hb-intro-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hb-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(4px);
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,.4);
    transition: background .2s;
}
.hb-btn-phone:hover { background: rgba(255,255,255,.25); }

/* Bottom curve shape */
.hb-intro-curve {
    position: absolute;
    bottom: -8px;
    left: 0;
    z-index: 3;
    line-height: 0;
}
.hb-intro-curve svg {
    width: 100%;
    height: 40px;
    display: block;
}


/* Hero buttons sizing */
.hb-intro-btns .elementor-button {
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
}
.hb-intro-btns .elementor-widget-fikco-button { display: inline-block; }

/* Inline buttons (FAQ, sidebar etc) */
.hb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hb-primary);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: background .2s;
}
.hb-btn:hover { background: var(--hb-primary-hover); }
.hb-btn-outline {
    display: inline-block;
    border: 2px solid #fff;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: var(--hb-radius);
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.hb-btn-outline:hover { background: #fff; color: var(--hb-dark) !important; }

/* Body layout */
.hb-body {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px;
    align-items: flex-start;
}
.hb-main { flex: 1 1 0; min-width: 0; }
.hb-sidebar { 
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 12px;
}   

/* About */
.hb-about { margin-bottom: 56px; }
.hb-about-title {
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
    color: var(--accent);
}
.hb-about p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0;
}

/* Why Choose Us */
.hb-why { margin-top: 40px; }
.hb-why-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
    color: var(--accent);
}
.hb-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
}
.hb-why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.hb-why-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.hb-why-icon {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}
.hb-why-text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--accent);
}

/* Gallery */
.hb-gallery { margin-bottom: 56px; }

.hb-gallery-hero {
    position: relative;
    height: 320px;
    background: #1a1a1a center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}
.hb-gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}
.hb-gallery-hero-inner {
    position: relative;
    z-index: 1;
    padding: 20px;
}
.hb-gallery-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hb-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.6);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    background: rgba(0,0,0,.3);
    transition: background .2s;
}
.hb-gallery-btn:hover { background: rgba(0,0,0,.55); }

.hb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.hb-gallery-cell {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
}
.hb-gallery-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.hb-gallery-cell:hover img { transform: scale(1.04); }

/* Service Details */
.hb-details { margin-bottom: 56px; }
.hb-details-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
}
.hb-details-desc {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.hb-details-subtitle {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 24px;
}
.hb-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.hb-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
}
.hb-item-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.hb-item-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.hb-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}
.hb-item-desc,
.hb-item-desc p {
    font-size: .9rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}
.hb-details-desc, .hb-details-desc p { color: var(--text); font-size: 1rem; line-height: 1.7; margin-bottom: 0; }

/* Service item as link */
a.hb-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.hb-item:hover {
    border-color: var(--hb-primary);
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    transform: translateY(-2px);
}
a.hb-item h5 { color: var(--accent); }

/* Pricing Table */
.hb-pricing { margin-bottom: 56px; }
.hb-pricing-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
}
.hb-pricing-desc,
.hb-pricing-desc p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
}
.hb-pricing-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid var(--border);
}
.hb-pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .97rem;
}
.hb-pricing-table thead tr {
    background: var(--dark);
    color: #fff;
}
.hb-pricing-table thead th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}
.hb-pricing-table tbody tr:nth-child(odd) {
    background: var(--background_light);
}
.hb-pricing-table tbody tr:nth-child(even) {
    background: #fff;
}
.hb-pricing-table tbody tr:hover {
    background: rgba(243,83,85,.06);
}
.hb-pricing-table tbody td {
    padding: 13px 20px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.hb-pricing-table tbody tr:last-child td { border-bottom: none; }
.hb-pricing-table tbody td:last-child {
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* SEO Content */
.hb-seo-content { margin-bottom: 56px; }

.hb-seo-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.25;
    margin: 48px 0 14px;
}
.hb-seo-content h2:first-child { margin-top: 0; }

.hb-seo-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin: 32px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.hb-seo-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin: 22px 0 8px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.hb-seo-content p {
    font-size: .97rem;
    color: var(--text);
    line-height: 1.8;
    margin: 0 0 16px;
}

.hb-seo-content ul,
.hb-seo-content ol {
    padding-left: 0;
    margin: 0 0 20px;
    list-style: none;
}
.hb-seo-content ul li,
.hb-seo-content ol li {
    font-size: .97rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 8px;
    padding-left: 22px;
    position: relative;
}
.hb-seo-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}
.hb-seo-content ol {
    counter-reset: hb-ol;
}
.hb-seo-content ol li {
    counter-increment: hb-ol;
    padding-left: 28px;
}
.hb-seo-content ol li::before {
    content: counter(hb-ol);
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hb-seo-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(243,83,85,.35);
    transition: border-color .2s, color .2s;
}
.hb-seo-content a:hover {
    color: var(--primary_hover);
    border-bottom-color: var(--primary);
}

.hb-seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 28px;
    font-size: .93rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.hb-seo-content table thead tr {
    background: var(--dark);
}
.hb-seo-content table th {
    text-align: left;
    padding: 13px 16px;
    font-weight: 700;
    color: #fff;
    border-bottom: none;
}
.hb-seo-content table tbody tr:nth-child(odd)  { background: var(--background_light); }
.hb-seo-content table tbody tr:nth-child(even) { background: #fff; }
.hb-seo-content table tbody tr:hover { background: rgba(243,83,85,.06); }
.hb-seo-content table td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: middle;
}
.hb-seo-content table tbody tr:last-child td { border-bottom: none; }
.hb-seo-content table td:last-child {
    font-weight: 600;
    color: var(--accent);
}

/* FAQ */
.hb-faq { margin-bottom: 48px; }
.hb-faq-heading { font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
.hb-faq-subtitle { font-size: .95rem; color: var(--text); line-height: 1.7; margin-bottom: 24px; }

.hb-faq-list { display: flex; flex-direction: column; gap: 10px; }

.hb-faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.hb-faq-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.hb-faq-summary::-webkit-details-marker { display: none; }

.hb-faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent);
    line-height: 1;
}
.hb-minus { display: none; }
.hb-faq-item[open] .hb-plus  { display: none; }
.hb-faq-item[open] .hb-minus { display: block; }

.hb-faq-q {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.4;
}
.hb-faq-body {
    padding: 4px 20px 20px 66px;
    color: var(--text);
    font-size: .92rem;
    line-height: 1.75;
}
.hb-faq-body p { margin: 0 0 8px; }
.hb-faq-body p:last-child { margin-bottom: 0; }

/* Sidebar */
.hb-sidebar-services {
    background: var(--hb-gray);
    border-radius: var(--hb-radius);
    padding: 24px;
    margin-bottom: 24px;
}
.hb-sidebar-services h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hb-border);
}
.hb-sidebar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    border-bottom: 1px solid var(--hb-border);
    color: var(--hb-dark);
    text-decoration: none;
    font-size: .9rem;
    transition: color .15s;
}
.hb-sidebar-link:last-child { border-bottom: none; }
.hb-sidebar-link:hover,
.hb-sidebar-link.current { color: var(--hb-primary); font-weight: 600; }
.hb-sidebar-arrow { color: var(--hb-dark); flex-shrink: 0; }
.hb-sidebar-arrow--current { color: var(--hb-primary); }
.hb-sidebar-link:hover .hb-sidebar-arrow { color: var(--hb-primary); }
.hb-sidebar-cta {
    background: var(--hb-primary);
    border-radius: var(--hb-radius);
    padding: 28px 24px;
    color: #fff;
    text-align: center;
}
.hb-sidebar-cta p { color: rgba(255,255,255,.8); font-size: .85rem; margin-bottom: 8px; }
.hb-sidebar-cta h3 { color: #fff; font-size: 1.2rem; margin-bottom: 20px; }

/* Animations */
@keyframes hb-move-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hb-animate {
    animation: hb-move-up .6s ease both;
}
.hb-animate-delay-1 { animation-delay: .15s; }
.hb-animate-delay-2 { animation-delay: .3s; }

/* Responsive */
@media (max-width: 900px) {
    .hb-about-inner { flex-direction: column; }
    .hb-about-img { width: 100%; }
    .hb-body { flex-direction: column; }
    .hb-sidebar { width: 100%; }
    .hb-items-grid { grid-template-columns: 1fr; }
    .hb-why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hb-intro h1 { font-size: 1.7rem; }
    .hb-body { padding: 32px 16px; }
}

/* ── Sticky mobile CTA ── */
.hb-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -2px 14px rgba(0,0,0,.18);
    gap: 10px;
    transform: translateY(110%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.hb-sticky-cta--visible {
    transform: translateY(0);
}
.hb-sticky-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 8px;
    border-radius: 5px;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none !important;
    white-space: nowrap;
}
.hb-sticky-cta-book {
    background: var(--primary);
    color: #fff !important;
}
.hb-sticky-cta-phone {
    background: var(--dark);
    color: #fff !important;
}
@media (max-width: 768px) {
    .hb-sticky-cta { display: flex; }
}

/* ── CTA Form block (after FAQ) ── */
.hb-cta-form {
    padding: 56px 24px 72px;
    background: #f0f3f6;
}
.hb-cta-form-card {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 48px rgba(0,0,0,.14);
}
/* Left — dark panel with optional bg photo */
.hb-cta-form-left {
    flex: 1 1 42%;
    position: relative;
    background: var(--dark) center/cover no-repeat;
    display: flex;
    align-items: center;
}
.hb-cta-form-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,20,28,.88) 0%, rgba(10,20,28,.70) 100%);
}
.hb-cta-form-left-body {
    position: relative;
    z-index: 1;
    padding: 56px 44px;
    color: #fff;
}
.hb-cta-form-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 14px;
}
.hb-cta-form-title {
    font-size: clamp(1.7rem, 2.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 18px;
}
.hb-cta-form-text {
    color: rgba(255,255,255,.75);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 32px;
}
.hb-cta-form-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--primary);
    padding: 13px 26px;
    border-radius: 6px;
    transition: background .2s;
}
.hb-cta-form-phone:hover { background: #c0392b; }
/* Right — white form panel */
.hb-cta-form-right {
    flex: 1 1 58%;
    background: #fff;
    padding: 52px 48px;
}
.hb-cta-form-right-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}
.hb-cta-form-right-sub {
    font-size: .9rem;
    color: #666;
    margin-bottom: 24px;
}
/* CF7 form fields */
.hb-cta-form-right .wpcf7 input:not([type="submit"]),
.hb-cta-form-right .wpcf7 select,
.hb-cta-form-right .wpcf7 textarea {
    width: 100%;
    border: 1.5px solid #e2e6ea;
    border-radius: 7px;
    padding: 11px 15px;
    font-size: .95rem;
    margin-bottom: 12px;
    background: #fafbfc;
    transition: border-color .2s;
    box-sizing: border-box;
}
.hb-cta-form-right .wpcf7 input:not([type="submit"]):focus,
.hb-cta-form-right .wpcf7 textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: #fff;
}
.hb-cta-form-right .wpcf7 textarea { min-height: 90px; resize: vertical; }
.hb-cta-form-right .wpcf7 input[type="submit"] {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .03em;
    transition: background .2s;
    margin-top: 4px;
}
.hb-cta-form-right .wpcf7 input[type="submit"]:hover { background: var(--dark); }
@media (max-width: 860px) {
    .hb-cta-form-card { flex-direction: column; border-radius: 14px; }
    .hb-cta-form-left-body { padding: 40px 32px; }
    .hb-cta-form-right { padding: 36px 32px; }
}
@media (max-width: 480px) {
    .hb-cta-form { padding: 32px 16px 48px; }
    .hb-cta-form-left-body { padding: 32px 24px; }
    .hb-cta-form-right { padding: 28px 20px; }
}

/* Hide reCAPTCHA v3 floating badge */
.grecaptcha-badge {
    visibility: hidden !important;
}