/* =====================================================================
   SowiloTec — Brand theme override
   "Sowilo / sun" identity. Light, corporate base with the warm-red
   palette from the brand kit and the red Sowilo rune.
   Loaded AFTER main.css + responsive.css. Single source of truth for
   brand tokens — do not hand-edit hex values per component.
   ===================================================================== */

:root {
    /* Core palette (from brand kit) */
    --sw-red: #951212;        /* Tamarillo — primary deep red */
    --sw-red-2: #a43434;      /* mid red — hover / emphasis */
    --sw-red-3: #b45454;      /* Matrix — lighter accent */
    --sw-contessa: #bc6c6c;   /* Contessa — soft accent */
    --sw-red-soft: #d9b4b4;   /* soft rose fill */

    /* Neutrals */
    --sw-paper: #ffffff;      /* page base */
    --sw-paper-2: #f7f4f4;    /* alt section */
    --sw-paper-3: #efeeee;    /* muted section */
    --sw-stone: #ddd4d4;      /* light divider */
    --sw-nobel: #bab8b8;      /* Nobel grey */
    --sw-ink: #201b1b;        /* near-black warm — headings */
    --sw-body: #574f4f;       /* warm grey — body text */
    --sw-muted: #8a8080;      /* muted text */
    --sw-line: #e8e0e0;       /* hairline border */
    --sw-footer: #1a1515;     /* dark footer base */

    /* Map onto template variables */
    --body-bg: var(--sw-paper);
    --white-bg: var(--sw-paper);
    --section-bg: var(--sw-paper-3);
    --primary-bg: linear-gradient(135deg, #951212 0%, #b45454 100%);
    --headding-bg: var(--sw-paper);
    --header-top-bg: #951212;
    --body-color: var(--sw-body);
    --primary-color: #951212;
    --secondary-color: #b45454;
    --headding-color: var(--sw-ink);
    --white-color: #ffffff;
    --no-change-color1: #ffffff;
    --dark-bg: var(--sw-footer);

    --border-color: var(--sw-line);
    --ct-border-color: var(--sw-line);
    --ct-border-color2: var(--sw-stone);
    --ct-border-color3: var(--sw-stone);
}

/* ---- Base ---- */
body {
    background-color: var(--sw-paper);
    color: var(--sw-body);
}
h1, h2, h3, h4, h5, h6 { color: var(--sw-ink); }
p { color: var(--sw-body); }
a { color: inherit; }
a:hover { color: var(--sw-red); }

/* Accent helpers used in template markup (span inside headings) */
.ct-section-title h2 span,
.title-style-2 .title2 span,
h2 span { color: var(--sw-red); }

/* Section eyebrow / small heading used by template */
.ct-section-title .style-1,
.ct-section-title h4.style-1 {
    color: var(--sw-red);
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-size: 14px;
}

/* ---- Buttons ---- */
.button-1,
.button-2 {
    background: var(--sw-red);
    border: none;
    color: #fff !important;
    font-weight: 600;
}
.button-1:hover,
.button-2:hover {
    background: var(--sw-ink);
    color: #fff !important;
}

/* ---- Logo (rune mark + wordmark) ---- */
.logo a,
.f-logo a,
.mobile-logo a {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}
.header .logo img.sw-logo-mark,
.logo a img.sw-logo-mark,
.f-logo a img.sw-logo-mark,
.mobile-logo a img.sw-logo-mark {
    height: 34px;
    width: auto;
    display: inline-block !important;
}
.sw-wordmark {
    font-family: "Jost", sans-serif;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: -0.4px;
    color: var(--sw-ink);
    line-height: 1;
    display: inline-block;
}
.sw-wordmark b { color: var(--sw-red); font-weight: 700; }
/* footer is dark — invert wordmark there */
.site-footer .sw-wordmark { color: #fff; }
.site-footer .sw-wordmark b { color: var(--sw-red-3); }

/* ---- Top bar ---- */
.header-top { background: var(--header-top-bg); }
.header-top .ht-left-sec span,
.header-top .top-social a { color: rgba(255, 255, 255, 0.9); }
.header-top .ht-left-sec span i { color: #fff; }
.header-top .top-social a:hover { color: #fff; }

/* ---- Header ---- */
.header.header-color,
.header.sticky-header,
.header.sticky-header.sticky {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid var(--sw-line);
    backdrop-filter: blur(8px);
}
.header.sticky-header.sticky { box-shadow: 0 8px 30px rgba(31, 18, 18, 0.08); }
.header .menu nav > ul > li > a { color: var(--sw-ink); font-weight: 500; }
.header .menu nav > ul > li > a:hover { color: var(--sw-red); }
.header .sub-menu { background: #fff; border: 1px solid var(--sw-line); box-shadow: 0 12px 34px rgba(31, 18, 18, 0.10); }
.header .sub-menu li a { color: var(--sw-body); }
.header .sub-menu li a:hover { color: var(--sw-red); }
.canvas_open a { color: var(--sw-ink); }

/* Eyebrow label */
.sw-eyebrow {
    display: inline-block;
    color: var(--sw-red);
    font-family: "Jost", sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* ---- Hero (light, with warm "sun" glow motif) ---- */
.ct-hero-section6.style2 {
    position: relative;
    overflow: hidden;
    padding-top: 150px;
    padding-bottom: 130px;
    background:
        radial-gradient(900px 520px at 80% 16%, rgba(149, 18, 18, 0.10) 0%, rgba(149, 18, 18, 0) 60%),
        radial-gradient(700px 500px at 8% 90%, rgba(180, 84, 84, 0.10) 0%, rgba(180, 84, 84, 0) 55%),
        var(--sw-paper);
}
.ct-hero-section6.style2 .container { position: relative; z-index: 2; }
.ct-hero-section6 .title-style-2 .title2 { font-size: 56px; line-height: 1.08; color: var(--sw-ink); }
.sw-hero-sun {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(180, 84, 84, 0.22) 0%, rgba(149, 18, 18, 0.08) 45%, rgba(149, 18, 18, 0) 70%);
    z-index: 1;
    pointer-events: none;
}
.sw-hero-sun::after {
    content: "";
    position: absolute;
    inset: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(149, 18, 18, 0.28) 0%, rgba(149, 18, 18, 0) 70%);
}
@media (max-width: 768px) {
    .ct-hero-section6 .title-style-2 .title2 { font-size: 38px; }
    .ct-hero-section6.style2 { padding-top: 120px; padding-bottom: 90px; }
}

/* ---- Sections / surfaces ---- */
.section-bg { background: var(--sw-paper-3) !important; }
.ct-about-us-section5,
.ct-why-choose-us-section,
.section-padding-2,
.section-padding { background: var(--sw-paper); }

/* Cards (template) */
.services-card-item-style9 { border: 1px solid var(--sw-line); background: #fff; }
.ab-info .info h4 { color: var(--sw-ink); }
.counter-item2 .content h2,
.counter-item2 .content h2 span { color: var(--sw-ink); }
.counter-item2 .content h2 small { color: var(--sw-red); }

/* ---- Brand portfolio cards (custom) ---- */
.sw-brand-grid { margin-top: 10px; }
.sw-brand-card {
    background: #fff;
    border: 1px solid var(--sw-line);
    border-radius: 16px;
    padding: 34px 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(31, 18, 18, 0.02);
}
.sw-brand-card:hover {
    border-color: var(--sw-red);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(149, 18, 18, 0.10);
}
.sw-brand-card .sw-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.sw-badge.live { background: rgba(149, 18, 18, 0.10); color: var(--sw-red); border: 1px solid rgba(149, 18, 18, 0.30); }
.sw-badge.coming { background: var(--sw-paper-3); color: var(--sw-muted); border: 1px solid var(--sw-stone); }
.sw-brand-card h3 { font-size: 24px; margin-bottom: 6px; }
.sw-brand-card .sw-cat { color: var(--sw-red); font-size: 14px; font-weight: 500; margin-bottom: 14px; display: block; }
.sw-brand-card p { margin-bottom: 18px; }
.sw-brand-card .sw-link { color: var(--sw-red); font-weight: 600; font-size: 14px; }
.sw-brand-card .sw-link i { margin-left: 4px; }

/* ---- Capability cards (custom) ---- */
.sw-cap-card {
    background: #fff;
    border: 1px solid var(--sw-line);
    border-radius: 16px;
    padding: 32px 28px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 0 rgba(31, 18, 18, 0.02);
}
.sw-cap-card:hover { border-color: var(--sw-red); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(149, 18, 18, 0.10); }
.sw-cap-card .sw-icon {
    width: 58px; height: 58px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: rgba(149, 18, 18, 0.08);
    color: var(--sw-red);
    font-size: 26px;
    margin-bottom: 22px;
}
.sw-cap-card h3 { font-size: 20px; margin-bottom: 10px; }
.sw-cap-card p { font-size: 15px; margin: 0; }

/* ---- Process steps ---- */
.sw-step { text-align: center; padding: 10px; }
.sw-step .sw-step-num {
    width: 64px; height: 64px; margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--sw-red);
    color: var(--sw-red);
    font-size: 22px; font-weight: 700;
    font-family: "Jost", sans-serif;
    background: rgba(149, 18, 18, 0.05);
}
.sw-step h3 { font-size: 20px; margin-bottom: 10px; }

/* ---- CTA band ---- */
.sw-cta {
    background: linear-gradient(135deg, #951212 0%, #6f0d0d 100%);
    border: none;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(149, 18, 18, 0.22);
}
.sw-cta h2 { margin-bottom: 14px; color: #fff; }
.sw-cta h2 span { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 5px; }
.sw-cta p { max-width: 620px; margin: 0 auto 26px; color: rgba(255, 255, 255, 0.88); }
.sw-cta .button-1 { background: #fff; color: var(--sw-red) !important; }
.sw-cta .button-1:hover { background: var(--sw-ink); color: #fff !important; }

/* ---- Footer ---- */
.site-footer { background: var(--sw-footer); border-top: 3px solid var(--sw-red); }
.site-footer h2 { color: #fff; }
.site-footer .footer-widgets-item p,
.site-footer .menu li a,
.site-footer .contact-info .content p { color: #b8aeae; }
.site-footer .contact-info .content h4 { color: #fff; }
.site-footer .menu li a:hover,
.site-footer .contact-info .content a:hover { color: var(--sw-red-3); }
.site-footer .contact-info .icon { color: var(--sw-red-3); }
.site-footer .footer-social a { color: #cfc6c6; }
.site-footer .footer-social a:hover { color: var(--sw-red-3); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-bottom .copy-text p { color: #8f8585; }
.footer-bottom .copy-text a { color: var(--sw-red-3); }

/* ---- Breadcrumb ---- */
.breadcrumb-area,
.ct-breadcrumb { background-color: var(--sw-paper-3); }

/* ---- Forms ---- */
input, textarea, select {
    background: #fff !important;
    border: 1px solid var(--sw-stone) !important;
    color: var(--sw-ink) !important;
}
input::placeholder, textarea::placeholder { color: var(--sw-muted) !important; }
input:focus, textarea:focus { border-color: var(--sw-red) !important; box-shadow: 0 0 0 3px rgba(149, 18, 18, 0.08); }

/* ---- FAQ (template fallback) ---- */
.accordion-item, .faq-item { background: #fff; border: 1px solid var(--sw-line); }

/* ---- Brand breadcrumb (no placeholder image) ---- */
.sw-breadcrumb {
    position: relative;
    overflow: hidden;
    padding: 170px 0 90px;
    background:
        radial-gradient(820px 420px at 82% 8%, rgba(149, 18, 18, 0.12) 0%, rgba(149, 18, 18, 0) 60%),
        var(--sw-paper-3);
    border-bottom: 1px solid var(--sw-line);
}
.sw-breadcrumb .container { position: relative; z-index: 2; }
.sw-breadcrumb h1 { font-size: 46px; margin-bottom: 14px; color: var(--sw-ink); }
.sw-breadcrumb p { max-width: 640px; margin: 0 auto 18px; }
.sw-crumbs { list-style: none; display: flex; gap: 10px; justify-content: center; padding: 0; }
.sw-crumbs li { color: var(--sw-muted); font-size: 14px; }
.sw-crumbs li a { color: var(--sw-red); }
.sw-crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--sw-nobel); }
@media (max-width: 768px) { .sw-breadcrumb h1 { font-size: 32px; } }

/* ---- Holding-model / layer cards ---- */
.sw-layer {
    background: #fff;
    border: 1px solid var(--sw-line);
    border-left: 3px solid var(--sw-red);
    border-radius: 14px;
    padding: 28px 30px;
    margin-bottom: 18px;
    box-shadow: 0 1px 0 rgba(31, 18, 18, 0.02);
}
.sw-layer h3 { font-size: 20px; margin-bottom: 8px; }
.sw-layer p { margin: 0; }

/* ---- Founder card ---- */
.sw-founder {
    background: #fff;
    border: 1px solid var(--sw-line);
    border-radius: 18px;
    padding: 40px;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 18px 40px rgba(31, 18, 18, 0.05);
}
.sw-founder .sw-avatar {
    width: 96px; height: 96px; margin: 0 auto 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: "Jost", sans-serif; font-weight: 700; font-size: 34px;
    color: #fff;
    background: var(--primary-bg);
}
.sw-founder h3 { font-size: 24px; margin-bottom: 4px; }
.sw-founder .sw-role { color: var(--sw-red); font-weight: 500; display: block; margin-bottom: 18px; }

/* ---- Detailed capability rows ---- */
.sw-detail {
    border: 1px solid var(--sw-line);
    background: #fff;
    border-radius: 16px;
    padding: 34px;
    margin-bottom: 24px;
    box-shadow: 0 1px 0 rgba(31, 18, 18, 0.02);
}
.sw-detail .sw-icon {
    width: 58px; height: 58px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: rgba(149, 18, 18, 0.08);
    color: var(--sw-red);
    font-size: 26px;
    margin-bottom: 18px;
}
.sw-detail h3 { font-size: 22px; margin-bottom: 12px; }
.sw-detail ul { list-style: none; padding: 0; margin: 16px 0 0; }
.sw-detail ul li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--sw-body); }
.sw-detail ul li i { position: absolute; left: 0; top: 4px; color: var(--sw-red); }

/* ---- FAQ (native details accordion) ---- */
.sw-faq details {
    background: #fff;
    border: 1px solid var(--sw-line);
    border-radius: 12px;
    margin-bottom: 14px;
    padding: 0 26px;
    box-shadow: 0 1px 0 rgba(31, 18, 18, 0.02);
}
.sw-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    font-family: "Jost", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--sw-ink);
    display: flex; justify-content: space-between; align-items: center;
}
.sw-faq summary::-webkit-details-marker { display: none; }
.sw-faq summary::after { content: "\2b"; color: var(--sw-red); font-size: 20px; }
.sw-faq details[open] summary::after { content: "\2212"; }
.sw-faq details[open] summary { border-bottom: 1px solid var(--sw-line); }
.sw-faq .sw-answer { padding: 18px 0 24px; color: var(--sw-body); }

/* ---- Legal prose ---- */
.sw-legal { max-width: 860px; margin: 0 auto; }
.sw-legal h2 { font-size: 24px; margin: 36px 0 14px; }
.sw-legal h2:first-child { margin-top: 0; }
.sw-legal p, .sw-legal li { color: var(--sw-body); line-height: 1.8; }
.sw-legal ul { padding-left: 20px; margin-bottom: 16px; }
.sw-legal li { margin-bottom: 8px; }
.sw-legal .sw-note {
    background: rgba(149, 18, 18, 0.06);
    border: 1px solid rgba(149, 18, 18, 0.25);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 30px;
    color: var(--sw-body);
}

/* ---- Contact ---- */
.sw-contact-card {
    background: #fff;
    border: 1px solid var(--sw-line);
    border-radius: 16px;
    padding: 34px;
    box-shadow: 0 1px 0 rgba(31, 18, 18, 0.02);
}
.sw-contact-info li { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.sw-contact-info .icon {
    width: 46px; height: 46px; flex: 0 0 46px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; background: rgba(149, 18, 18, 0.08); color: var(--sw-red); font-size: 18px;
}
.sw-contact-info h4 { font-size: 15px; margin-bottom: 2px; }
.sw-contact-info a, .sw-contact-info p { color: var(--sw-body); margin: 0; }
.sw-form .form-group { margin-bottom: 18px; }
.sw-form input, .sw-form textarea {
    width: 100%; padding: 14px 16px; border-radius: 10px;
    font-family: var(--body-font); font-size: 15px;
}
.sw-form textarea { min-height: 140px; resize: vertical; }
.sw-privacy-note { font-size: 13px; color: var(--sw-muted); margin-top: 14px; }
.sw-privacy-note a { color: var(--sw-red); }
.sw-form-status { margin-top: 14px; font-size: 14px; }

/* ---- 404 ---- */
.sw-404 { text-align: center; padding: 130px 0; }
.sw-404 h1 { font-size: 120px; line-height: 1; color: var(--sw-red); margin-bottom: 10px; }
.sw-404 h2 { font-size: 30px; margin-bottom: 14px; }

/* ---- Misc ---- */
.scroll-area { background: var(--sw-red); color: #fff; }
::selection { background: var(--sw-red); color: #fff; }
.preloader { background: var(--sw-paper); }
