/*
Theme Name: Labakaritdiena
Theme URI: http://localhost
Author: Janis
Description: Custom theme for development.
Version: 0.1.0
Text Domain: labakaritdiena
*/


:root{
    --brand-blue:#2aa0ff;
    --text-muted:#7b8a99;
}

.site-header .topbar{
    padding: 18px 0;
}

.site-header .brand{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
}

.site-header .brand-title{
    font-weight:600;
    color:#5faeea;
    letter-spacing: .5px;
}

.site-header .info-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
}

.site-header .info-icon{
    width:34px;
    height:34px;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:#eef7ff;
    color:var(--brand-blue);
    font-size:18px;
    flex:0 0 auto;
}

.site-header .info-title{
    font-weight:600;
    line-height:1.1;
}

.site-header .info-sub{
    color:var(--text-muted);
    font-size:.9rem;
}

.site-header .menubar{
    border-top:1px solid #eef1f4;
    border-bottom:1px solid #eef1f4;
}

.site-header .main-nav .nav-link{
    text-transform: uppercase;
    letter-spacing: .8px;
    font-size: .85rem;
    padding: 14px 14px;
    color:#233247;
}

.site-header .main-nav .current-menu-item > .nav-link,
.site-header .main-nav .nav-link:hover{
    color: var(--brand-blue);
}

.site-header .social a{
    color:#98a6b5;
    text-decoration:none;
    font-size:18px;
    display:inline-flex;
    align-items:center;
    padding: 12px 8px;
}

.site-header .social a:hover{
    color:#233247;
}
/* ===== Header v2 (tuvāk screenshot) ===== */
:root{
    --brand:#66b6f2;          /* logo zilais */
    --accent:#2aa0ff;         /* hover/active */
    --muted:#7f8c99;
    --line:#eef1f4;
}

.site-header a{ text-decoration:none !important; }
.site-header a:focus{ outline: none; box-shadow:none; }

.site-header .topbar{
    padding: 14px 0;          /* zemāks */
}

.site-header .brand{
    display:flex;
    align-items:center;
    gap:10px;
    line-height:1;
}

.site-header .brand-title{
    font-weight:600;
    color: var(--brand);
    letter-spacing:.2px;
    font-size: 22px;
}

.site-header .info-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
}

.site-header .info-icon{
    width:34px;
    height:34px;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:#eef7ff;
    color: var(--accent);
    font-size:18px;
    flex:0 0 auto;
    margin-top:2px;
}

.site-header .info-title{
    font-weight:600;
    color:#111827;
    line-height:1.15;
}

.site-header .info-sub{
    color:var(--muted);
    font-size:.92rem;
    line-height:1.2;
    margin-top:4px;
}

.site-header .menubar{
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.site-header .main-nav .nav{
    gap: 12px;                /* tuvāk screenshot */
    flex-wrap: wrap;
}

.site-header .main-nav .nav-link{
    color:#1f2937 !important; /* nevis zilais link */
    text-transform: uppercase;
    letter-spacing:.7px;
    font-size:.86rem;
    font-weight:500;
    padding: 12px 10px;
}

.site-header .main-nav .current-menu-item > .nav-link,
.site-header .main-nav .nav-link:hover{
    color: var(--accent) !important;
}

.site-header .social a{
    color:#9aa7b3 !important;
    font-size:18px;
    display:inline-flex;
    align-items:center;
    padding: 10px 6px;
}

.site-header .social a:hover{
    color:#111827 !important;
}


/* ===== Home hero ===== */
.hero{
    background: radial-gradient(1200px 600px at 20% 20%, #ffffff 0%, #f6fbff 55%, #f2f8ff 100%);
    padding: 70px 0 40px;
}

.hero__grid{
    display:grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items:center;
}

.hero__kicker{
    color:#8bbf3d;
    font-weight:600;
    font-size: .9rem;
    letter-spacing:.2px;
    margin-bottom: 14px;
}

.hero__title{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 600;
    font-size: 56px;
    line-height: 1.05;
    color:#1f2a37;
    margin: 0 0 18px;
}

.hero__lead{
    color:#667483;
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 0 26px;
}

/* ===== Hero buttons (FIX) ===== */
.hero__actions{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    align-items:center;
}

.hero__btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:25px 28px;
    border-radius:999px;

    font-size:18px;

    line-height:1;

    text-decoration:none !important;
    border:2px solid transparent;

    cursor:pointer;
    transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}

/* Zaļā poga */
.hero__btn--primary{
    background:#98c03d;
    border-color:#98c03d;
    color:#fff !important;
    box-shadow:0 10px 22px rgba(17,24,39,.14);
}

.hero__btn--primary:hover{
    transform:translateY(-1px);
    background:#86ad35;
    border-color:#86ad35;
    color:#fff !important;
}

/* Zilais outline */
.hero__btn--outline{
    background:transparent;
    border-color:#2aa0ff;
    color:#2aa0ff !important;
    box-shadow:none;
}

.hero__btn--outline:hover{
    background:rgba(42,160,255,.08);
    transform:translateY(-1px);
    text-decoration:none !important;
}

/* ja tēma uzliek underline uz :hover */
.hero__btn:hover,
.hero__btn:focus{
    text-decoration:none !important;
}

/* mobilajam */
@media (max-width:480px){
    .hero__btn{ width:100%; }
}

/* ===== Hero visual bubbles ===== */
.hero__visual{
    position:relative;
    min-height: 420px;
}

.bubble{
    position:absolute;
    border-radius: 999px;
    background:#fff;
    box-shadow: 0 18px 50px rgba(17, 24, 39, .12);
    overflow:hidden;
}

.bubble--lg{
    width: 360px;
    height: 360px;
    right: 10px;
    top: 10px;
    border: 10px solid rgba(255,255,255,.9);
}

.bubble--sm{
    width: 88px;
    height: 88px;
    border: 6px solid rgba(255,255,255,.95);
}

.bubble--sm1{
    left: 180px;
    bottom: 40px;
}

.bubble--sm2{
    right: 0;
    top: 110px;
    transform: translateX(35px);
}

.bubble__img{
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
}

.bubble__overlay{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.10), rgba(0,0,0,.35));
}

.bubble__text{
    color:#fff;
    text-align:center;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2;
    padding: 0 28px;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

/* Decorative dots */
.dot{
    position:absolute;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    opacity:.9;
}
.dot--blue{ background:#73bdf3; }
.dot--green{ background:#b8d67a; }

.dot--1{ left: 10px; top: 180px; }
.dot--2{ left: 80px; top: 240px; }
.dot--3{ right: 80px; bottom: 60px; }
.dot--4{ right: 40px; top: 220px; }

/* ===== Info card ===== */
.info-card{
    padding: 36px 0 80px;
}

.info-card__box{
    background: #fbf7e6;
    border-radius: 18px;
    padding: 42px 44px;
    display:grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 34px;
    box-shadow: 0 22px 60px rgba(17, 24, 39, .12);
}

.info-card__accent{
    width: 90px;
    height: 4px;
    border-radius: 999px;
    background:#98c03d;
    margin-bottom: 18px;
}

.info-card__title{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 600;
    font-size: 44px;
    line-height: 1.05;
    margin: 0 0 24px;
    color:#1f2a37;
}

.info-card__btn{
    border-radius: 12px;
    padding: 10px 18px;
}

.info-card__right{
    color:#637384;
    font-size: 1.02rem;
    line-height: 1.65;
}

/* Responsive */
@media (max-width: 991px){
    .hero{ padding: 46px 0 24px; }
    .hero__grid{ grid-template-columns: 1fr; }
    .hero__title{ font-size: 44px; }
    .hero__visual{ min-height: 420px; margin-top: 10px; }
    .bubble--lg{ right: 50%; transform: translateX(50%); }
    .bubble--sm2{ right: 50%; transform: translate(160px, 0); }
    .info-card__box{ grid-template-columns: 1fr; padding: 32px 26px; }
    .info-card__title{ font-size: 36px; }
}

/* ===== Services block ===== */
.services{
    padding: 30px 0 90px;
}

.services__grid{
    display:grid;
    grid-template-columns: 1.2fr .95fr;
    gap: 48px;
    align-items:start;
}

.section-accent{
    width: 90px;
    height: 4px;
    border-radius: 999px;
    background:#98c03d;
    margin-bottom: 18px;
}

.section-title{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 600;
    font-size: 54px;
    line-height: 1.05;
    margin: 0 0 26px;
    color:#1f2a37;
}

.services__image{
    border-radius: 26px;
    overflow:hidden;
    box-shadow: 0 22px 60px rgba(17, 24, 39, .12);
    background:#fff;
}

.services__image img{
    width:100%;
    height: auto;
    display:block;
}

/* Cards grid */
.services__cards{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.service-card{
    background:#f6f7f8;
    border-radius: 18px;
    padding: 24px 24px 22px;
    box-shadow: 0 18px 45px rgba(17, 24, 39, .08);
    min-height: 240px;
    display:flex;
    flex-direction:column;
}

.service-card__accent{
    width: 44px;
    height: 3px;
    border-radius: 999px;
    background:#cfe3a6;
    margin-bottom: 14px;
}

.service-card__title{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 600;
    font-size: 22px;
    margin: 0 0 10px;
    color:#1f2a37;
    line-height: 1.15;
}

.service-card__text{
    color:#647587;
    font-size: .98rem;
    line-height: 1.55;
    margin: 0 0 18px;
}

.service-card__btn{
    margin-top:auto;
    align-self:flex-start;
    border-radius: 999px;
    padding: 10px 18px;
    background:#98c03d;
    border:1px solid #98c03d;
    color:#fff;
    font-weight:600;
}

.service-card__btn:hover{
    background:#86ad35;
    border-color:#86ad35;
    color:#fff;
}

/* Responsive */
@media (max-width: 991px){
    .services{ padding: 10px 0 70px; }
    .services__grid{ grid-template-columns: 1fr; }
    .section-title{ font-size: 42px; }
    .services__cards{ grid-template-columns: 1fr; }
    .service-card{ min-height: auto; }
}

/* ===== News / Aktualitātes ===== */
.news{
    padding: 40px 0 110px;
}

.news__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-title--sm{
    font-size: 54px; /* tāpat kā screenshot */
}

.news__all{
    display:inline-flex;
    align-items:center;
    gap:10px;
    border: 2px solid #98c03d;
    color:#6ea62d;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration:none;
    white-space:nowrap;
    margin-top: 10px;
}

.news__all:hover{
    background:#98c03d;
    color:#fff;
}

.news__grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.news-card{
    display:block;
    background:#fff;
    border-radius: 18px;
    overflow:hidden;
    text-decoration:none;
    box-shadow: 0 18px 50px rgba(17, 24, 39, .10);
    transition: transform .15s ease, box-shadow .15s ease;
    color: inherit;
}

.news-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 24px 70px rgba(17, 24, 39, .14);
}

.news-card__image{
    height: 240px;
    background-size: cover;
    background-position: center;
}

.news-card__body{
    padding: 18px 22px 22px;
}

.news-card__kicker{
    font-size: .78rem;
    letter-spacing: 1px;
    color:#6b7b8d;
    font-weight: 700;
    margin-bottom: 8px;
}

.news-card__title{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.15;
    color:#1f2a37;
}

/* Responsive */
@media (max-width: 991px){
    .section-title--sm{ font-size: 42px; }
    .news__grid{ grid-template-columns: 1fr; }
    .news-card__image{ height: 220px; }
}

/* ===== Footer ===== */
.site-footer{
    background: radial-gradient(1200px 700px at 30% 0%, #2b2b2b 0%, #1f1f1f 45%, #161616 100%);
    color:#d7dde4;
    padding: 70px 0 28px;
    margin-top: 90px;
}

.site-footer a{
    color:#d7dde4;
    text-decoration:none;
}
.site-footer a:hover{
    color:#fff;
}

.footer__grid{
    display:grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 54px;
}

.footer__title{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 18px;
    color:#fff;
}

.footer__muted{
    color:#9aa6b2;
    margin-bottom: 18px;
    font-size:.95rem;
}

.footer__list{
    display:flex;
    flex-direction:column;
    gap: 14px;
    color:#cdd6df;
}

.footer__row{
    display:flex;
    gap: 14px;
    align-items:flex-start;
    line-height: 1.45;
}

.footer__icon{
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display:grid;
    place-items:center;
    color:#a6d14f;
    font-size: 18px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.footer__phones{
    display:flex;
    flex-direction:column;
    gap: 16px;
}

.footer__phone-name{
    font-weight: 700;
    color:#fff;
    margin-bottom: 2px;
}
.footer__phone-num{
    color:#aab5c0;
}

.footer__hours{
    display:flex;
    flex-direction:column;
    gap: 14px;
    margin-top: 6px;
}

.footer__hour{
    display:flex;
    justify-content:space-between;
    gap: 18px;
    color:#cdd6df;
}
.footer__hour-label{
    color:#9aa6b2;
}
.footer__hour-val{
    font-weight: 700;
    color:#fff;
}

.footer__divider{
    height: 1px;
    background: rgba(140, 160, 180, .18);
    margin: 46px 0 18px;
}

.footer__social{
    display:flex;
    justify-content:center;
    gap: 16px;
    padding: 10px 0 8px;
}

.footer__social-btn{
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display:grid;
    place-items:center;
    background: rgba(56, 84, 120, .35);
    color:#cfe0ff;
    font-size: 18px;
}
.footer__social-btn:hover{
    background: rgba(56, 84, 120, .55);
    color:#fff;
}

.footer__bottom{
    text-align:center;
    color:#8f9aa6;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 991px){
    .site-footer{ padding: 54px 0 22px; }
    .footer__grid{ grid-template-columns: 1fr; gap: 34px; }
    .footer__hour{ justify-content:flex-start; }
    .footer__hour-val{ margin-left:auto; }
}

/* ===== Inner page (SAC) ===== */
.inner-hero{
    position:relative;
    background-size:cover;
    background-position:center;
    padding: 64px 0 38px;
}

.inner-hero__overlay{
    position:absolute;
    inset:0;
    background: radial-gradient(900px 500px at 25% 20%, rgba(255,255,255,.92), rgba(245,250,255,.82), rgba(245,250,255,.70));
}

.inner-hero__container{ position:relative; }

.inner-hero__card{
    max-width: 860px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 20px;
    box-shadow: 0 22px 60px rgba(17, 24, 39, .12);
    padding: 26px 26px 22px;
    backdrop-filter: blur(6px);
}

.inner-hero__title{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 700;
    font-size: 46px;
    line-height: 1.05;
    margin: 0 0 10px;
    color:#1f2a37;
}

.inner-hero__subtitle{
    color:#647587;
    margin: 0 0 14px;
    font-size: 1.05rem;
    max-width: 680px;
}

.inner-hero__meta{
    display:flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.meta-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #eef1f4;
    color:#334155;
    text-decoration:none;
    font-weight:600;
    font-size:.92rem;
}

.meta-chip i{ color:#2aa0ff; }

/* layout */
.inner{
    padding: 34px 0 80px;
    background: radial-gradient(900px 450px at 15% 0%, #ffffff 0%, #f7fbff 60%, #ffffff 100%);
}

.inner__grid{
    display:grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 28px;
    align-items:start;
}

.content-card{
    background:#fff;
    border-radius: 20px;
    box-shadow: 0 18px 55px rgba(17, 24, 39, .10);
    overflow:hidden;
}

.content-card__body{
    padding: 28px 30px;
}

/* nicer typography for old content */
.prose{
    color:#4b5a6a;
    line-height: 1.75;
    font-size: 1.03rem;
}
.prose h2{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 700;
    color:#1f2a37;
    font-size: 28px;
    margin: 28px 0 10px;
}
.prose h3 {
    font-weight: 700;
    color: #1f2a37;
    font-size: 20px
}

        /* ===== Inner page (SAC) ===== */
.inner-hero{
    position:relative;
    background-size:cover;
    background-position:center;
    padding: 64px 0 38px;
}

    .inner-hero__overlay{
        position:absolute;
        inset:0;
        background: radial-gradient(900px 500px at 25% 20%, rgba(255,255,255,.92), rgba(245,250,255,.82), rgba(245,250,255,.70));
    }

    .inner-hero__container{ position:relative; }

    .inner-hero__card{
        max-width: 860px;
        background: rgba(255,255,255,.88);
        border: 1px solid rgba(255,255,255,.8);
        border-radius: 20px;
        box-shadow: 0 22px 60px rgba(17, 24, 39, .12);
        padding: 26px 26px 22px;
        backdrop-filter: blur(6px);
    }

    .inner-hero__title{
        font-family: Georgia, "Times New Roman", Times, serif;
        font-weight: 700;
        font-size: 46px;
        line-height: 1.05;
        margin: 0 0 10px;
        color:#1f2a37;
    }

    .inner-hero__subtitle{
        color:#647587;
        margin: 0 0 14px;
        font-size: 1.05rem;
        max-width: 680px;
    }

    .inner-hero__meta{
        display:flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .meta-chip{
        display:inline-flex;
        align-items:center;
        gap:8px;
        padding: 9px 12px;
        border-radius: 999px;
        background: #ffffff;
        border: 1px solid #eef1f4;
        color:#334155;
        text-decoration:none;
        font-weight:600;
        font-size:.92rem;
    }

    .meta-chip i{ color:#2aa0ff; }

    /* layout */
    .inner{
        padding: 34px 0 80px;
        background: radial-gradient(900px 450px at 15% 0%, #ffffff 0%, #f7fbff 60%, #ffffff 100%);
    }

    .inner__grid{
        display:grid;
        grid-template-columns: 1.25fr .75fr;
        gap: 28px;
        align-items:start;
    }

    .content-card{
        background:#fff;
        border-radius: 20px;
        box-shadow: 0 18px 55px rgba(17, 24, 39, .10);
        overflow:hidden;
    }

    .content-card__body{
        padding: 28px 30px;
    }

    /* nicer typography for old content */
    .prose{
        color:#4b5a6a;
        line-height: 1.75;
        font-size: 1.03rem;
    }
    .prose h2{
        font-family: Georgia, "Times New Roman", Times, serif;
        font-weight: 700;
        color:#1f2a37;
        font-size: 28px;
        margin: 28px 0 10px;
    }
    .prose h3{
        font-weight: 700;
        color:#1f2a37;
        font-size: 20px;
        margin: 22px 0 10px;
    }
    .prose ul{
        padding-left: 20px;
        margin: 10px 0 18px;
    }
    .prose li{ margin: 8px 0; }
    .prose hr{
        border:0;
        height:1px;
        background:#eef1f4;
        margin: 26px 0;
    }

    /* Sidebar */
    .inner__aside{
        position: sticky;
        top: 18px;
    }

    .side-card{
        background:#1f2937;
        color:#d7dde4;
        border-radius: 18px;
        padding: 22px 22px 18px;
        box-shadow: 0 18px 55px rgba(17, 24, 39, .16);
        margin-bottom: 18px;
    }

    .side-card--soft{
        background:#ffffff;
        color:#334155;
        border: 1px solid #eef1f4;
    }

    .side-card__title{
        font-family: Georgia, "Times New Roman", Times, serif;
        color:#fff;
        font-weight:700;
        font-size: 18px;
        margin-bottom: 14px;
    }
    .side-card--soft .side-card__title{ color:#1f2a37; }

    .side-row{
        display:flex;
        gap: 12px;
        align-items:flex-start;
        margin: 12px 0;
        color:#cbd5e1;
    }
    .side-card--soft .side-row{ color:#4b5a6a; }

    .side-ic{
        width: 32px;
        height: 32px;
        border-radius: 10px;
        display:grid;
        place-items:center;
        background: rgba(152,192,61,.14);
        color:#98c03d;
        flex: 0 0 auto;
        margin-top: 2px;
    }

    .side-card a{ color: inherit; text-decoration:none; }
    .side-card a:hover{ color:#fff; }
    .side-card--soft a:hover{ color:#111827; }

    .side-actions{ margin-top: 14px; }
    .side-btn{
        border-radius: 12px;
        padding: 12px 14px;
        background:#98c03d;
        border-color:#98c03d;
    }
    .side-btn:hover{
        background:#86ad35;
        border-color:#86ad35;
    }

    /* list in soft card */
    .side-list{
        padding-left: 18px;
        margin: 8px 0 0;
    }
    .side-note{
        color:#7b8a99;
        font-size:.9rem;
        margin-top: 10px;
    }

    /* Map */
    .map-card{
        margin-top: 22px;
        background:#fff;
        border-radius: 20px;
        box-shadow: 0 18px 55px rgba(17, 24, 39, .10);
        overflow:hidden;
    }
    .map-card__title{
        margin: 0;
        padding: 18px 22px;
        font-family: Georgia, "Times New Roman", Times, serif;
        font-weight: 700;
        font-size: 20px;
        border-bottom: 1px solid #eef1f4;
    }
    .map-card__frame{
        height: 360px;
    }
    .map-card__frame iframe{
        width:100% !important;
        height:100% !important;
        border:0 !important;
        display:block;
    }

    /* Responsive */
@media (max-width: 991px){
        .inner-hero__title{ font-size: 38px; }
        .inner__grid{ grid-template-columns: 1fr; }
        .inner__aside{ position: static; }
        .content-card__body{ padding: 22px; }
}

    /* Hero address line */
    .inner-hero__address{
        margin-top: 10px;
        display:flex;
        align-items:center;
        flex-wrap: wrap;
        gap: 8px;
        font-size: .95rem;
        color:#5f6f80;
        font-weight: 500;
    }

    .inner-hero__address i{
        color:#98c03d;
        font-size: 18px;
    }

    .inner-hero__address a{
        color:#1f2a37;
        text-decoration:none;
        font-weight:600;
    }

    .inner-hero__address a:hover{
        color:#2aa0ff;
    }

    .inner-hero__sep{
        margin: 0 6px;
        color:#9aa6b2;
    }
    .brand img {
        height: 40px;
        width: auto;
    }.contact-item {
         display: flex;
         gap: 16px;
         align-items: flex-start;
     }

    .contact-icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #0d6efd;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }


    /* ===== Contact page ===== */
    .contact-section{
        background: radial-gradient(900px 450px at 15% 0%, #ffffff 0%, #f7fbff 60%, #ffffff 100%);
    }

    .contact-kicker{
        color:#8bbf3d;
        font-weight:700;
        letter-spacing:.2px;
    }

    .contact-card{
        background:#fff;
        border-radius: 18px;
        padding: 26px;
        box-shadow: 0 18px 55px rgba(17, 24, 39, .10);
    }

    .contact-item{
        display:flex;
        gap: 14px;
        align-items:flex-start;
    }

    .contact-icon{
        width: 40px;
        height: 40px;
        border-radius: 12px;
        display:grid;
        place-items:center;
        background: rgba(152,192,61,.14);
        color:#98c03d;
        flex: 0 0 auto;
        margin-top: 2px;
        font-size: 18px;
    }

    /* ===== CF7 styling ===== */
    .contact-card .wpcf7 form{
        margin: 0;
    }

    .contact-card .wpcf7 form p{
        margin: 0 0 14px;
    }

    .contact-card .wpcf7 label{
        display:block;
        font-weight: 600;
        color:#1f2a37;
        margin-bottom: 6px;
    }

    .contact-card .wpcf7 input[type="text"],
    .contact-card .wpcf7 input[type="email"],
    .contact-card .wpcf7 input[type="tel"],
    .contact-card .wpcf7 input[type="url"],
    .contact-card .wpcf7 select,
    .contact-card .wpcf7 textarea{
        width: 100%;
        border: 1px solid #e6edf5;
        border-radius: 12px;
        padding: 12px 14px;
        font-size: 1rem;
        color:#1f2a37;
        background:#fff;
        outline: none;
    }

    .contact-card .wpcf7 textarea{
        min-height: 180px;
        resize: vertical;
    }

    .contact-card .wpcf7 input:focus,
    .contact-card .wpcf7 textarea:focus,
    .contact-card .wpcf7 select:focus{
        border-color: rgba(42,160,255,.55);
        box-shadow: 0 0 0 4px rgba(42,160,255,.12);
    }

    .contact-card .wpcf7 .wpcf7-not-valid-tip{
        font-size: .9rem;
        margin-top: 6px;
    }

    .contact-card .wpcf7 .wpcf7-response-output{
        border-radius: 12px;
        padding: 12px 14px;
        margin: 16px 0 0;
    }

    /* Submit button */
    .contact-card .wpcf7 input[type="submit"],
    .contact-card .wpcf7 button[type="submit"]{
        background:#98c03d;
        border:1px solid #98c03d;
        color:#fff;
        font-weight:700;
        padding: 12px 18px;
        border-radius: 999px;
        cursor:pointer;
    }

    .contact-card .wpcf7 input[type="submit"]:hover,
    .contact-card .wpcf7 button[type="submit"]:hover{
        background:#86ad35;
        border-color:#86ad35;
    }

    /* Spinner/loader */
    .contact-card .wpcf7 .wpcf7-spinner{
        margin-left: 10px;
    }

    /* Link colors inside contact info */
    .contact-card a{
        color:#2aa0ff;
        text-decoration:none;
        font-weight: 600;
    }
    .contact-card a:hover{
        color:#1f2a37;
    }
    .map-card{
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 18px 55px rgba(17, 24, 39, .12);
    }

    .contact-map-full{
        width: 100%;
        height: 450px;
    }

    .contact-map-full iframe{
        width: 100%!important;
        height: 100%;
        border: 0;
        display: block;
    }
    .contact-map-full{
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        margin-top: 40px;
    }

    .site-header .main-nav .main-menu{
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 12px;
        align-items: center;
    }

    /* Top level LI */
    .site-header .main-nav .main-menu > li{
        position: relative;
    }

    /* Submenu hidden by default */
    .site-header .main-nav .main-menu .sub-menu{
        display: none;
        list-style: none;
        margin: 0;
        padding: 10px;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        min-width: 220px;
        background: #fff;
        border: 1px solid #eef1f4;
        border-radius: 14px;
        box-shadow: 0 18px 55px rgba(17, 24, 39, .12);
        z-index: 9999;
    }

    /* Show submenu on hover (desktop) */
    .site-header .main-nav .main-menu > li:hover > .sub-menu{
        display: block;
    }

    /* Submenu links styling */
    .site-header .main-nav .main-menu .sub-menu a{
        display: block;
        padding: 10px 12px;
        border-radius: 10px;
        color: #1f2937 !important;
        text-decoration: none !important;
        text-transform: none;
        letter-spacing: 0;
        font-size: .95rem;
        white-space: nowrap;
    }

    .site-header .main-nav .main-menu .sub-menu a:hover{
        background: #f6fbff;
        color: #2aa0ff !important;
    }

    /* Optional: caret indicator for parents */
    .site-header .main-nav .menu-item-has-children > a:after {
        content: "▾";
        font-size: .75em;
        margin-left: 8px;
        opacity: .6;
    }
    .menu-toggle{
        display:none;
        align-items:center;
        gap:10px;
        border:1px solid rgba(16,24,40,.12);
        background:#fff;
        padding:10px 12px;
        border-radius:999px;
        font-weight:600;
    }

    .menu-toggle__icon{
        width:18px; height:12px; position:relative; display:inline-block;
    }
    .menu-toggle__icon::before,
    .menu-toggle__icon::after{
        content:""; position:absolute; left:0; right:0; height:2px;
        background:#0f172a; border-radius:2px;
    }
    .menu-toggle__icon::before{ top:0; box-shadow:0 5px 0 #0f172a; }
    .menu-toggle__icon::after{ bottom:0; }

    @media (max-width: 991.98px){
        .social{ display:none !important; }
        .menu-toggle{ display:inline-flex; }

        /* aizvērts pēc noklusējuma */
        #primaryNav{ display:none; width:100%; }
        #primaryNav.is-open{ display:block; }

        /* WP menu UL */
        #primaryNav .main-menu{
            list-style:none;
            margin:8px 0 0 0;
            padding:0;
            display:block !important; /* pret Bootstrap */
        }

        #primaryNav .main-menu > li{
            border-top:1px solid rgba(16,24,40,.08);
        }
        #primaryNav .main-menu > li:first-child{ border-top:0; }

        #primaryNav .main-menu > li > a{
            display:block;
            padding:14px 12px;
            font-size:16px;
            text-decoration:none;
            color:#0f172a;
        }

        #primaryNav .main-menu .current-menu-item > a{
            background: rgba(15, 23, 42, .04);
        }
    }

    /* Desktop: poga nav vajadzīga */
    .menu-toggle { display: none; }

    /* Ikonas zīmēšana bez bildēm */
    .menu-toggle-icon{
        width: 26px;
        height: 2px;
        background: #111;
        display: inline-block;
        position: relative;
        border-radius: 2px;
    }
    .menu-toggle-icon::before,
    .menu-toggle-icon::after{
        content:"";
        width: 26px;
        height: 2px;
        background: #111;
        position: absolute;
        left: 0;
        border-radius: 2px;
    }
    .menu-toggle-icon::before{ top: -8px; }
    .menu-toggle-icon::after{ top: 8px; }

    /* Ja nav Bootstrap, lai "visually-hidden" strādā */
    .visually-hidden{
        position:absolute !important;
        width:1px; height:1px;
        padding:0; margin:-1px;
        overflow:hidden; clip:rect(0,0,0,0);
        white-space:nowrap; border:0;
    }

    /* ============ MOBILE ============ */
    @media (max-width: 991.98px){

        /* menubar iekšējais row */
        .menubar .d-flex{
            position: relative;
            flex-wrap: wrap;
            gap: 12px;
        }

        /* Hamburger redzams */
        .menu-toggle{
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border: 1px solid #e6e6e6;
            border-radius: 12px;
            background: #fff;
            padding: 0;
        }

        /* Soc. ikonas var palikt labajā pusē, bet nepārplēš rindu */
        .social{
            margin-left: auto;
        }

        /* NAV aizņem visu platumu, lai dropdown izskatās normāli */
        .main-nav{
            width: 100%;
            order: 3; /* lai iet zem pogas/soc */
        }

        /* Sākumā slēpts */
        .main-menu{
            display: none;
            flex-direction: column;
            width: 100%;
            margin: 0;
            padding: 8px 0;
            border-top: 1px solid #eee;
        }

        /* Atvērtā stāvoklī rādam */
        body.menu-open .main-menu{
            display: flex;
        }

        /* Katrs punkts full width */
        .main-menu > li{
            width: 100%;
        }

        .main-menu > li > a{
            display: block;
            width: 100%;
            padding: 14px 8px;
            text-decoration: none;
            border-bottom: 1px solid #f1f1f1;
        }

        /* Dropdown (2. līmenis) — vienkārši ieliekam iedobi */
        .main-menu .sub-menu{
            margin: 0;
            padding: 6px 0 10px 12px;
            list-style: none;
        }

        .main-menu .sub-menu a{
            display: block;
            padding: 10px 8px;
        }
    }

    .topbar-mobile{ display:none; }

    /* tikai mobilajā: slēpjam veco topbar un rādam jauno */
    @media (max-width: 991.98px){
        .topbar{ display:none; }
        .topbar-mobile{ display:block; background:#fff; }
    }

    /* Mobile topbar stils */
    @media (max-width: 991.98px){
        .topbar-mobile .brand img{
            height: 34px;
            width: auto;
        }

        .topbar-mobile-row{
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:12px;
            padding:10px 0;
        }

        .topbar-mobile-actions{
            display:flex;
            align-items:center;
            gap:10px;
        }

        .icon-btn{
            width:42px;
            height:42px;
            border:1px solid #e9ecef;
            border-radius:12px;
            display:inline-flex;
            align-items:center;
            justify-content:center;
            text-decoration:none;
            color:inherit;
            background:#fff;
            font-size:18px;
            line-height:1;
        }

        .topbar-mobile-chips{
            display:flex;
            gap:10px;
            flex-wrap:wrap;
            padding:0 0 10px 0;
        }

        .chip{
            display:inline-flex;
            align-items:center;
            gap:8px;
            padding:10px 12px;
            border:1px solid #eee;
            border-radius:999px;
            background:#fff;
            text-decoration:none;
            color:inherit;
            font-size:14px;
            line-height:1;
        }

        .chip .muted{ color:#6c757d; font-weight:400; }
    }

    @media (max-width: 991.98px){
        .menubar .social{ display:none !important; }
    }

.topbar-mobile{ display:none; }

@media (max-width: 991.98px){
    .topbar{ display:none; }
    .topbar-mobile{ display:block; background:#fff; }
    .menubar .social{ display:none !important; } /* lai nedubultojas */
}

@media (max-width: 991.98px){
    .topbar-mobile .brand img{ height: 34px; width:auto; }

    .mhead{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        padding:10px 0;
    }

    .mhead-icons{
        display:flex;
        gap:10px;
    }

    .icon-btn{
        width:40px;
        height:40px;
        border:1px solid #e9ecef;
        border-radius:12px;
        display:inline-flex;
        align-items:center;
        justify-content:center;
        text-decoration:none;
        color:inherit;
        background:#fff;
        font-size:18px;
        line-height:1;
    }

    .mhead-cta{
        display:grid;
        grid-template-columns: 1fr 1fr;
        gap:10px;
        padding: 0 0 8px 0;
    }

    .cta-btn{
        display:flex;
        align-items:center;
        justify-content:center;
        gap:8px;
        padding:12px 10px;
        border-radius:14px;
        border:1px solid #e9ecef;
        background:#f8f9fa;
        text-decoration:none;
        color:inherit;
        font-weight:600;
    }

    .mhead-note{
        display:flex;
        align-items:center;
        gap:8px;
        color:#6c757d;
        font-size:13px;
        padding: 0 0 10px 0;
    }
}

/* ===== NAVBAR STABILITY FIX ===== */

.navbar {
    padding: 10px 0;
}

.navbar-collapse {
    width: 100%;
}

.navbar-nav {
    gap: 0;
}

.navbar-nav .nav-link {
    padding: 10px 14px;
    font-weight: 500;
}

/* Mobilais režīms */
@media (max-width: 991.98px){

    .navbar-collapse {
        background: #fff;
        padding: 10px 0;
    }

    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        width: 100%;
        padding: 14px 20px;
        border-bottom: 1px solid #f1f1f1;
    }

}

/* Fix, ja kaut kas cits aizslēdz collapse */
#primaryNav.collapse { display: none; }
#primaryNav.collapse.show { display: block; }

@media (min-width: 992px){
    #primaryNav.collapse { display: block; }
}

/* lai dropdown ietu virs citiem elementiem */
.menubar { position: relative; z-index: 1000; }

/* WP iedod <ul class="sub-menu dropdown-menu"> – ielabojam */
.navbar .dropdown-menu{
    margin-top: 8px;
}

/* Desktop: atveras uz hover (smukāk nekā klikšķis) */
@media (min-width: 992px){
    .navbar .dropdown:hover > .dropdown-menu{
        display: block;
    }
    .navbar .dropdown > .dropdown-menu{
        display: none;
    }
}

/* Dropdown lai vienmēr ir virs un neplūst pa layout */
.menubar { position: relative; z-index: 1000; }

/* Parentam jābūt relative, lai dropdown piesienas pie pareizās vietas */
.menubar .navbar-nav > li {
    position: relative;
}

/* WP sub-menu + bootstrap dropdown-menu reset */
.menubar .navbar-nav > li > ul.sub-menu,
.menubar .navbar-nav > li > ul.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;

    display: none;               /* slēpts pēc noklusējuma */
    min-width: 220px;

    margin: 8px 0 0 0 !important;
    padding: 8px 0 !important;

    list-style: none !important; /* noņem punktiņus */
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* Dropdown item stils */
.menubar .navbar-nav > li > ul.sub-menu > li > a,
.menubar .navbar-nav > li > ul.dropdown-menu > li > a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

/* Hover efekts */
.menubar .navbar-nav > li > ul.sub-menu > li > a:hover,
.menubar .navbar-nav > li > ul.dropdown-menu > li > a:hover {
    background: #f8f9fa;
}

/* Desktop hover atver */
@media (min-width: 992px){
    .menubar .navbar-nav > li.menu-item-has-children:hover > ul.sub-menu,
    .menubar .navbar-nav > li.dropdown:hover > ul.dropdown-menu {
        display: block;
    }
}

@media (min-width: 992px){
    /* uztaisa neredzamu zonu zem menu punkta */
    .menubar .navbar-nav > li.menu-item-has-children::after,
    .menubar .navbar-nav > li.dropdown::after{
        content:"";
        position:absolute;
        left:0;
        right:0;
        top:100%;
        height: 12px;       /* palielini uz 16px, ja vēl grūti */
        background: transparent;
    }
}