:root {
    --navy-950: #1e1a4a;
    --navy-900: #2c276a;
    --navy-800: #3d3789;
    --burgundy-900: #c4141c;
    --burgundy-800: #ed1c25;
    --burgundy-700: #f24149;
    --slate-50: #fafbfd;
    --slate-100: #f3f5f8;
    --slate-200: #e3e8ef;
    --slate-300: #cad3df;
    --slate-600: #5b6879;
    --slate-700: #334255;
    --white: #ffffff;
    --shadow-soft: 0 18px 48px rgba(44, 39, 106, 0.08);
    --shadow-card: 0 12px 30px rgba(44, 39, 106, 0.06);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1800px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Source Sans 3", sans-serif;
    color: var(--navy-900);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.site-shell {
    min-height: 100vh;
}

.top-bar {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
    flex-wrap: wrap;
}

.top-bar-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.top-bar-contact a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    transition: color 0.25s ease;
}

.top-bar-contact a:hover {
    color: var(--white);
}

.top-bar-sep {
    color: rgba(255, 255, 255, 0.4);
}

.top-bar-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(44, 39, 106, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.site-brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--burgundy-800), var(--navy-900));
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 24px rgba(196, 20, 28, 0.2);
}

.site-brand-logo {
    display: block;
    width: auto;
    height: 54px;
    object-fit: contain;
}

.site-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    gap: 4px;
}

.site-brand-copy strong {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.site-brand-copy small,
.eyebrow,
.footer-kicker,
.content-meta {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--burgundy-800);
}

.site-brand-copy small {
    letter-spacing: 0.12em;
}

.site-navigation {
    margin-left: auto;
}

.primary-menu,
.footer-list {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-menu a,
.footer-list a {
    color: var(--slate-700);
    transition: color 0.25s ease;
}

.primary-menu a:hover,
.footer-list a:hover,
.text-link:hover {
    color: var(--burgundy-800);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    font-size: 0.96rem;
}

.header-cta,
.button-primary {
    background: var(--burgundy-800);
    color: var(--white);
    box-shadow: var(--shadow-card);
}

.header-cta:hover,
.button-primary:hover {
    transform: translateY(-2px);
    background: var(--burgundy-900);
}

.button-secondary {
    border: 1px solid rgba(44, 39, 106, 0.14);
    color: var(--navy-900);
    background: var(--white);
}

.button-secondary:hover {
    border-color: rgba(237, 28, 37, 0.28);
    color: var(--burgundy-800);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: var(--navy-900);
}

/* ---------------------------------------------------------------------
   Hero Carousel Beranda
   --------------------------------------------------------------------- */
.hero-carousel {
    position: relative;
    overflow: hidden;
    background: var(--navy-950);
}

.hero-track {
    position: relative;
    min-height: 540px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

/* Latar gradien bawaan per slide bila belum ada gambar */
.hero-slide--1 {
    background-image:
        radial-gradient(circle at 80% 20%, rgba(237, 28, 37, 0.35), transparent 45%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.hero-slide--2 {
    background-image:
        radial-gradient(circle at 15% 80%, rgba(44, 39, 106, 0.55), transparent 50%),
        linear-gradient(135deg, var(--burgundy-900), var(--navy-900));
}

.hero-slide--3 {
    background-image:
        radial-gradient(circle at 75% 30%, rgba(61, 55, 137, 0.6), transparent 50%),
        linear-gradient(135deg, var(--navy-900), var(--navy-950));
}

/* Overlay gelap agar teks terbaca di atas foto */
.hero-slide.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 26, 74, 0.86), rgba(30, 26, 74, 0.5));
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 40px), var(--container));
    padding-top: 84px;
    padding-bottom: 84px;
}

.hero-slide-content {
    max-width: 660px;
    color: var(--white);
}

.hero-slide-content .eyebrow {
    color: #f7a6ab;
}

.hero-slide-content h1 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    line-height: 1.2;
    margin: 12px 0 16px;
}

.hero-slide-text {
    max-width: 52ch;
    margin: 0 0 26px;
    font-size: 1.06rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-dots {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
}

.hero-dot.is-active {
    width: 28px;
    background: var(--white);
}

.news-grid,
.listing-grid,
.footer-grid,
.info-grid,
.service-grid {
    display: grid;
    gap: 24px;
}

/* Cegah anak grid/flex memaksa lebar melebihi viewport (min-width: auto)
   yang menyebabkan overflow horizontal & teks terpotong di layar kecil. */
.news-grid > *,
.listing-grid > *,
.footer-grid > *,
.info-grid > *,
.service-grid > *,
.feature-strip > *,
.value-grid > *,
.about-grid > *,
.card-grid > *,
.mini-list > *,
.about-points li {
    min-width: 0;
}

.page-hero h1,
.footer-title,
.section-heading h2,
.split-heading h2,
.cta-banner h2 {
    font-family: "Poppins", sans-serif;
    line-height: 1.2;
    margin: 0;
}

.section-heading p,
.cta-banner p,
.content-card p,
.mini-card p,
.info-card p,
.service-card p,
.content-article,
.archive-description,
.footer-text {
    color: var(--slate-600);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.info-card,
.service-card,
.mini-card,
.content-card,
.cta-banner,
.pagination-wrap {
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(44, 39, 106, 0.08);
    box-shadow: var(--shadow-card);
}

.footer-title,
.section-heading h2,
.split-heading h2,
.cta-banner h2,
.page-hero h1 {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.section {
    padding: 52px 0;
}

.section-light {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
}

.section-dark {
    background: linear-gradient(135deg, var(--navy-900), #34307e);
    color: var(--white);
}

.section-heading,
.split-heading {
    margin-bottom: 28px;
}

.section-heading {
    max-width: 720px;
}

.compact-heading {
    margin-bottom: 16px;
}

.section-heading-on-dark p {
    color: rgba(255, 255, 255, 0.72);
}

.info-grid,
.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Grid kartu responsif: mengisi lebar yang tersedia dengan kartu min 280px.
   Memakai auto-fill agar 1-2 kartu tidak melar penuh di layar lebar. */
.card-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.info-card,
.service-card,
.mini-card,
.content-card {
    padding: 24px;
}

.info-card h3,
.service-card h3,
.listing-title,
.mini-card h4,
.content-card h2,
.content-card h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.info-card h3,
.service-card h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.12rem;
    line-height: 1.35;
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.text-link {
    font-weight: 700;
    color: var(--navy-900);
}

.text-link::after {
    content: " ->";
}

.listing-grid,
.news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-list {
    display: grid;
    gap: 16px;
}

.content-card h2,
.content-card h4 {
    font-size: 1.2rem;
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    background:
        linear-gradient(135deg, var(--burgundy-900), var(--navy-900));
    color: var(--white);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.72);
}

.page-hero {
    padding: 40px 0 26px;
    border-bottom: 1px solid var(--slate-200);
}

.content-layout {
    padding-top: 32px;
    padding-bottom: 8px;
}

.content-article {
    max-width: 100%;
}

/* Beranda, arsip, header, dan footer memakai lebar penuh (--container).
   Halaman konten tunggal (post/CPT single & page statis) memakai kolom
   terpusat yang lega agar teks tetap nyaman dibaca dan tidak menyisakan
   ruang kosong besar di kanan pada layar lebar. Breadcrumb, judul, dan
   konten dibatasi ke lebar yang sama supaya tepinya sejajar. */
.single .breadcrumb-inner,
.single .page-hero > .container,
.single .content-layout,
.page:not(.home) .breadcrumb-inner,
.page:not(.home) .page-hero > .container,
.page:not(.home) .content-layout {
    max-width: 1200px;
}

.content-article > *:first-child {
    margin-top: 0;
}

.content-article h2,
.content-article h3 {
    font-family: "Poppins", sans-serif;
    line-height: 1.2;
    color: var(--navy-900);
}

.featured-image-wrap {
    margin-bottom: 24px;
}

.featured-image-wrap img {
    border-radius: var(--radius-md);
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding: 16px;
}

.pagination-wrap .nav-links {
    display: flex;
    gap: 10px;
}

.pagination-wrap a,
.pagination-wrap span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid rgba(44, 39, 106, 0.08);
}

.site-footer {
    margin-top: 48px;
    padding: 52px 0 28px;
    color: var(--white);
    background: linear-gradient(180deg, #241f5c 0%, #1e1a4a 100%);
}

.footer-grid {
    grid-template-columns: 0.9fr 1fr 1fr 1fr;
    align-items: start;
}

.footer-list {
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

.footer-list-title {
    margin-top: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.92rem;
}

.ico {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: var(--white);
}

.icon-badge .ico {
    width: 26px;
    height: 26px;
}

/* Featured strip - 3 kartu unggulan */
.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(44, 39, 106, 0.08);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(237, 28, 37, 0.2);
}

.feature-card h3 {
    margin: 0 0 8px;
    font-family: "Poppins", sans-serif;
    font-size: 1.16rem;
    color: var(--navy-900);
}

.feature-card p {
    margin: 0 0 16px;
    color: var(--slate-600);
}

.feature-card .text-link {
    margin-top: auto;
}

/* About section - 2 kolom */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
    align-items: center;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 30% 30%, rgba(237, 28, 37, 0.16), transparent 60%),
        linear-gradient(135deg, var(--navy-900), var(--navy-800));
    box-shadow: var(--shadow-card);
}

.about-monogram {
    text-align: center;
    color: var(--white);
    line-height: 1;
}

.about-monogram strong {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 3.4rem;
    letter-spacing: 0.04em;
}

.about-monogram span {
    display: block;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
}

.about-copy h2 {
    font-family: "Poppins", sans-serif;
    line-height: 1.28;
    margin: 8px 0 14px;
}

.about-points {
    list-style: none;
    margin: 18px 0 24px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.about-points li {
    display: flex;
    align-items: start;
    gap: 12px;
    color: var(--slate-700);
    font-weight: 600;
}

.about-points .ico {
    color: var(--burgundy-800);
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

/* Values - kartu nilai lembaga */
.center-heading {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.value-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid rgba(44, 39, 106, 0.08);
    box-shadow: var(--shadow-card);
}

.value-card h3 {
    margin: 0 0 8px;
    font-family: "Poppins", sans-serif;
    font-size: 1.12rem;
    color: var(--navy-900);
}

.value-card p {
    margin: 0;
    color: var(--slate-600);
}

.breadcrumb-bar {
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
}

.breadcrumb-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 0.86rem;
    color: var(--slate-600);
}

.breadcrumb-inner a {
    color: var(--slate-600);
    transition: color 0.25s ease;
}

.breadcrumb-inner a:hover {
    color: var(--burgundy-800);
}

.breadcrumb-current {
    color: var(--navy-900);
    font-weight: 600;
}

.breadcrumb-sep {
    color: var(--slate-300);
}

.primary-menu > li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
}

.primary-menu .sub-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    margin: 8px 0 0;
    padding: 10px;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    z-index: 40;
}

/* Jembatan hover transparan menutup celah antara item induk dan submenu,
   supaya submenu tidak menutup saat kursor turun melintasi celah tersebut. */
.primary-menu > li > .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 12px;
}

.primary-menu > li:hover > .sub-menu,
.primary-menu > li:focus-within > .sub-menu,
.primary-menu > li.is-open > .sub-menu {
    display: flex;
}

.primary-menu .sub-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    white-space: nowrap;
}

.primary-menu .sub-menu a:hover {
    background: var(--slate-100);
}

.submenu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 0.7rem;
    cursor: pointer;
}

.lsp-detail-table {
    width: 100%;
    margin: 0 0 24px;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.lsp-detail-table th,
.lsp-detail-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--slate-200);
}

.lsp-detail-table th {
    width: 34%;
    color: var(--slate-600);
    font-weight: 600;
}

.lsp-download-button {
    margin-top: 8px;
}

/* Tabel data (mis. daftar Skema Sertifikasi) */
.table-scroll {
    margin: 20px 0 8px;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.96rem;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--slate-200);
    vertical-align: top;
}

.data-table thead th {
    background: var(--navy-900);
    color: var(--white);
    font-family: "Source Sans 3", sans-serif;
    font-weight: 700;
    white-space: nowrap;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table tbody tr:nth-child(even) {
    background: var(--slate-50);
}

.data-table tbody tr:hover {
    background: var(--slate-100);
}

.data-table a {
    color: var(--navy-900);
    font-weight: 600;
}

.data-table a:hover {
    color: var(--burgundy-800);
}

.data-table .col-no {
    width: 56px;
    text-align: center;
}

.data-table .col-jenjang {
    width: 110px;
    text-align: center;
}

.data-table tbody .col-no {
    color: var(--slate-600);
}

/* Nilai jenjang tampil sebagai badge agar mudah dipindai */
.jenjang-badge {
    display: inline-block;
    min-width: 34px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    color: var(--navy-900);
    font-weight: 700;
    font-size: 0.9rem;
}

.info-box-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.info-box {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.info-box h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--navy-900);
}

.info-box p {
    margin: 0;
    color: var(--slate-600);
}

.kontak-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.kontak-map iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: var(--radius-lg);
}

.kontak-form {
    display: grid;
    gap: 14px;
}

.kontak-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--navy-900);
    font-size: 0.92rem;
}

.kontak-form input[type="text"],
.kontak-form input[type="email"],
.kontak-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    font: inherit;
    color: var(--slate-700);
}

.kontak-form textarea {
    min-height: 140px;
    resize: vertical;
}

.lsp-field-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-notice {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-weight: 600;
}

.form-notice-success {
    background: rgba(26, 122, 58, 0.1);
    color: #1a7a3a;
}

.form-notice-error {
    background: rgba(237, 28, 37, 0.1);
    color: var(--burgundy-800);
}

@media (max-width: 980px) {
    .menu-toggle {
        display: flex;
    }

    .submenu-toggle {
        display: inline-flex;
    }

    .site-navigation {
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        display: none;
        margin: 0;
        padding: 18px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.99);
        border: 1px solid rgba(44, 39, 106, 0.08);
        box-shadow: var(--shadow-soft);
    }

    .site-navigation.is-open {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        align-items: start;
    }

    .primary-menu > li {
        width: 100%;
        justify-content: space-between;
    }

    .primary-menu .sub-menu {
        display: none;
        position: static;
        margin: 6px 0 6px 14px;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .primary-menu > li.is-open > .sub-menu {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .info-box-grid {
        grid-template-columns: 1fr;
    }

    .kontak-layout {
        grid-template-columns: 1fr;
    }

    .listing-grid,
    .news-grid,
    .footer-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .info-grid,
    .service-grid,
    .card-grid,
    .feature-strip,
    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-visual {
        min-height: 180px;
    }

    .cta-banner,
    .split-heading,
    .footer-bottom {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 980px) {
    .hero-track {
        min-height: 460px;
    }

    .hero-slide-inner {
        padding-top: 64px;
        padding-bottom: 72px;
    }
}

@media (max-width: 640px) {
    .top-bar-note {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .hero-track {
        min-height: 420px;
    }

    .hero-slide-inner {
        padding-top: 52px;
        padding-bottom: 64px;
    }

    .info-grid,
    .service-grid,
    .card-grid,
    .feature-strip,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 24px;
    }

    .section {
        padding: 40px 0;
    }

    .page-hero {
        padding: 28px 0 20px;
    }

    .page-hero h1,
    .footer-title,
    .section-heading h2,
    .split-heading h2,
    .cta-banner h2 {
        font-size: clamp(1.6rem, 7vw, 2.3rem);
    }
}
