:root {
    --bg: #071512;
    --bg-soft: #0d201c;
    --panel: #ffffff;
    --panel-soft: #f6fbfa;
    --text: #122521;
    --muted: #6a7d79;
    --line: rgba(8, 45, 37, 0.1);
    --primary: #0b7d69;
    --primary-dark: #065446;
    --accent: #ffb84d;
    --accent-soft: rgba(255, 184, 77, 0.16);
    --shadow-lg: 0 30px 80px rgba(6, 39, 32, 0.16);
    --shadow-md: 0 18px 40px rgba(8, 37, 32, 0.12);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

body.custom-frontend {
    background:
        radial-gradient(circle at top left, rgba(11, 125, 105, 0.08), transparent 30%),
        linear-gradient(180deg, #f8fcfb 0%, #eff6f4 100%);
    color: var(--text);
    font-family: Arial, sans-serif;
    padding-top: 92px;
}

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

img {
    max-width: 100%;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.button-1 {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.button-2 {
    background: linear-gradient(135deg, var(--primary), #14a185);
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(11, 125, 105, 0.28);
}

.button-2:hover {
    box-shadow: 0 24px 45px rgba(11, 125, 105, 0.34);
}

.topbar-lite {
    background: linear-gradient(90deg, #062722, #0d5144 55%, #0c7864);
    color: rgba(255, 255, 255, 0.9);
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-copy,
.topbar-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.topbar-links a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 20;
    backdrop-filter: blur(14px);
    transition: transform 0.35s ease;
}

.header-shell {
    width: min(1460px, calc(100% - 14px));
    margin: 0 auto 0;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(6, 29, 24, 0.12);
    transition:
        width 0.35s ease,
        margin 0.35s ease,
        padding 0.35s ease,
        border-radius 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.site-content {
    position: relative;
    z-index: 1;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: 132px;
    max-height: 38px;
    object-fit: contain;
    transition: width 0.35s ease, max-height 0.35s ease;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong {
    color: #042019;
    font-size: 13px;
    line-height: 1.1;
    transition: font-size 0.35s ease;
}

.brand-copy span {
    color: var(--muted);
    font-size: 11px;
}

.finwave-navbar {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.finwave-navbar a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 9px;
    border-radius: 999px;
    color: #173029;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.25s ease, color 0.25s ease, min-height 0.35s ease, padding 0.35s ease;
}

.finwave-navbar li.active > a,
.finwave-navbar a:hover {
    background: rgba(11, 125, 105, 0.1);
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    min-height: 32px;
    border-radius: 999px;
    background: #f5fbfa;
    color: #0c322b;
    font-weight: 700;
    font-size: 14px;
    transition: min-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
}

.header-phone i {
    color: var(--primary);
}

.header-cta {
    white-space: nowrap;
    min-height: 38px;
    padding: 0 16px;
    font-size: 14px;
}

body.is-scrolled .topbar-lite {
    transform: translateY(0);
    opacity: 1;
    max-height: 80px;
    overflow: visible;
    transition: transform 0.35s ease, opacity 0.25s ease, max-height 0.35s ease;
}

.topbar-lite {
    transition: transform 0.35s ease, opacity 0.25s ease, max-height 0.35s ease;
    max-height: 80px;
}

body.is-scrolled .header-shell {
    transform: translateY(0);
}

body.is-scrolled .brand-logo {
    width: 132px;
    max-height: 38px;
}

body.is-scrolled .brand-copy strong {
    font-size: 13px;
}

body.is-scrolled .finwave-navbar a {
    min-height: 32px;
    padding: 0 9px;
}

body.is-scrolled .header-phone {
    min-height: 32px;
    padding: 0 10px;
}

.slider-stage {
    display: grid;
    position: relative;
}

.slider-viewport {
    position: relative;
    display: grid;
}

.slider-stage .hero-panel {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.55s ease, transform 0.7s ease, visibility 0.55s ease;
}

.slider-stage .hero-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.hero-panel {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: auto auto 80px 60%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 184, 77, 0.18), transparent 70%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 21, 18, 0.88) 0%, rgba(5, 21, 18, 0.64) 45%, rgba(5, 21, 18, 0.28) 100%),
        linear-gradient(180deg, rgba(6, 28, 24, 0.35), rgba(6, 28, 24, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 160px 20px 96px;
    color: #ffffff;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 360px);
    gap: 36px;
    align-items: end;
}

.hero-copy {
    max-width: 780px;
}

.hero-kicker,
.top-sub-title {
    display: inline-flex;
    align-items: center;
    padding: 9px 15px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #b06c05;
    border: 1px solid rgba(255, 184, 77, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 800;
}

.hero-content h1 {
    max-width: 760px;
    margin: 18px 0;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-content p {
    max-width: 720px;
    margin: 0;
    color: rgba(239, 245, 244, 0.9);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 18px;
    max-width: 760px;
    margin-top: 36px;
}

.hero-metric {
    padding: 20px 22px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.hero-metric strong {
    display: block;
    margin-bottom: 6px;
    font-size: 30px;
    color: #ffffff;
}

.hero-metric span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

.hero-service-panel {
    padding: 26px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 60px rgba(3, 14, 12, 0.18);
    backdrop-filter: blur(14px);
}

.hero-service-panel .top-sub-title {
    margin-bottom: 18px;
}

.hero-service-panel h3 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.2;
    color: #ffffff;
}

.hero-service-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.hero-service-list li {
    position: relative;
    padding-left: 22px;
    color: rgba(245, 249, 248, 0.92);
    line-height: 1.7;
}

.hero-service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(255, 184, 77, 0.12);
}

.slider-toolbar {
    margin-top: -58px;
    position: relative;
    z-index: 3;
}

.slider-progress-track {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    overflow: hidden;
}

.slider-progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #ffd28a);
    transition: width 0.25s linear;
}

.slider-controls {
    margin-top: 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.slider-arrow {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #12342e;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 18px 34px rgba(6, 29, 24, 0.18);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.slider-arrow:hover {
    transform: translateY(-2px);
    background: var(--primary);
    color: #ffffff;
}

.slider-dots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.slider-dot {
    border: 0;
    text-align: left;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    color: #12342e;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(6, 29, 24, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.slider-dot:hover,
.slider-dot.is-active {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 22px 44px rgba(6, 29, 24, 0.18);
}

.slider-dot-index {
    display: block;
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.slider-dot-label {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.home-panels,
.single-shell {
    padding: 92px 20px;
}

.section-heading-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
    align-items: end;
    margin-bottom: 28px;
}

.section-title-wrapper {
    margin-bottom: 26px;
}

.main-title {
    margin: 14px 0 0;
    color: #08221c;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-intro {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.card-grid,
.post-grid,
.stats-grid,
.quick-links,
.feature-grid,
.media-grid,
.admin-split,
.trust-grid,
.content-layout,
.service-grid,
.process-grid,
.highlight-grid {
    display: grid;
    gap: 24px;
}

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

.card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.post-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

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

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

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

.content-card,
.post-card,
.content-surface,
.table-card,
.stat-card,
.admin-login-card,
.admin-section,
.trust-card,
.side-panel,
.media-card,
.cta-band,
.service-card,
.process-card,
.highlight-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.content-card,
.post-body,
.content-surface,
.admin-login-card,
.admin-section,
.table-card,
.stat-card,
.trust-card,
.side-panel,
.media-card,
.cta-band,
.service-card,
.process-card,
.highlight-card {
    padding: 30px;
}

.content-card,
.post-card,
.trust-card,
.service-card,
.process-card,
.highlight-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.content-card:hover,
.post-card:hover,
.trust-card:hover,
.service-card:hover,
.process-card:hover,
.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 38px 85px rgba(8, 34, 28, 0.16);
}

.feature-card {
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 125, 105, 0.16), transparent 70%);
}

.accent-card {
    background: linear-gradient(135deg, #08312b, #0d6254 60%, #127b68);
    color: #ffffff;
}

.accent-card h2,
.accent-card p,
.accent-card .top-sub-title,
.accent-card a {
    color: #ffffff;
}

.content-card h3,
.post-body h3,
.trust-card h3,
.side-panel h3,
.service-card h3,
.process-card h3,
.highlight-card h3 {
    color: #09241d;
}

.content-card p,
.post-body p,
.trust-card p,
.side-panel p,
.service-card p,
.process-card p,
.highlight-card p {
    color: var(--muted);
    line-height: 1.8;
}

.service-no,
.process-step {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(11, 125, 105, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-card h3,
.process-card h3,
.highlight-card h3 {
    margin: 16px 0 12px;
    font-size: 24px;
    line-height: 1.24;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(11, 125, 105, 0.12), rgba(255, 184, 77, 0.18));
    color: var(--primary);
    font-weight: 800;
    font-size: 18px;
}

.post-card {
    overflow: hidden;
}

.post-image-link {
    display: block;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.post-card:hover .post-image {
    transform: scale(1.04);
}

.article-heading-row {
    align-items: center;
}

.article-section-intro {
    display: grid;
    justify-items: start;
    gap: 18px;
}

.article-section-intro p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: 17px;
}

.article-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 24px;
}

.article-lead-card,
.article-mini-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.article-lead-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    min-height: 100%;
}

.article-lead-media,
.article-mini-media {
    display: block;
    overflow: hidden;
}

.article-lead-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.article-lead-card:hover .article-lead-image,
.article-mini-card:hover .article-mini-image {
    transform: scale(1.04);
}

.article-lead-content {
    padding: 34px;
    display: grid;
    align-content: center;
    gap: 16px;
    background: linear-gradient(180deg, rgba(248, 252, 251, 0.98), rgba(240, 247, 245, 0.98));
}

.article-chip {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(11, 125, 105, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-lead-content small,
.article-mini-content small {
    color: var(--muted);
    font-size: 14px;
}

.article-lead-content h3,
.article-mini-content h3 {
    margin: 0;
    color: #09241d;
    line-height: 1.16;
}

.article-lead-content h3 {
    font-size: clamp(28px, 3.5vw, 40px);
}

.article-mini-content h3 {
    font-size: 22px;
}

.article-lead-content p,
.article-mini-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.article-lead-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.article-ghost-btn {
    color: #0f2d27;
    border-color: rgba(15, 45, 39, 0.12);
    background: rgba(15, 45, 39, 0.04);
    box-shadow: none;
}

.article-stack {
    display: grid;
    gap: 20px;
}

.article-mini-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: stretch;
}

.article-mini-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.article-mini-content {
    padding: 24px 24px 22px;
    display: grid;
    gap: 10px;
}

.article-inline-link {
    color: var(--primary);
    font-weight: 700;
}

.article-inline-link:hover,
.article-lead-content h3 a:hover,
.article-mini-content h3 a:hover {
    color: var(--primary-dark);
}

.post-body {
    padding-top: 26px;
}

.post-body small,
.meta-line,
.post-hero-meta {
    color: var(--muted);
    font-size: 14px;
}

.post-body h3 a:hover {
    color: var(--primary);
}

.cta-band {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, #082822, #0d4e42 60%, #0f7765);
    color: #ffffff;
    overflow: hidden;
}

.cta-band h2 {
    margin: 16px 0 12px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
}

.cta-band p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.cta-band-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.map-shell {
    overflow: hidden;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.map-shell iframe {
    width: 100%;
    min-height: 460px;
    border: 0;
    display: block;
}

.inner-hero {
    position: relative;
    padding: 180px 20px 74px;
    background: linear-gradient(135deg, #071b17, #0d3a32 55%, #10584b);
    overflow: hidden;
}

.inner-hero::after {
    content: "";
    position: absolute;
    inset: auto -120px -100px auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 184, 77, 0.18), transparent 70%);
}

.inner-hero-content {
    position: relative;
    z-index: 1;
}

.inner-hero-page .inner-hero-content,
.post-hero .inner-hero-content {
    display: grid;
    gap: 28px;
}

.inner-hero h1 {
    margin: 18px 0 12px;
    color: #ffffff;
    font-size: clamp(34px, 4.5vw, 62px);
    line-height: 1.06;
}

.inner-hero p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 18px;
}

.breadcrumbs-lite,
.post-hero-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs-lite a:hover {
    color: #ffffff;
}

.hero-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hero-meta-card {
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.hero-meta-card h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 20px;
}

.hero-meta-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
}

.content-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.page-shell {
    padding-top: 48px;
}

.page-shell-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.page-main-surface {
    background: rgba(255, 255, 255, 0.96);
}

.page-aside-stack {
    display: grid;
    gap: 24px;
}

.page-section-head {
    margin-bottom: 26px;
}

.page-section-head h2 {
    margin: 16px 0 12px;
    color: #08221c;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.14;
}

.page-section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.page-rich-content {
    font-size: 17px;
}

.info-list-card {
    position: sticky;
    top: 130px;
}

.page-info-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 16px;
}

.page-info-list li {
    display: grid;
    gap: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.page-info-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.page-info-list strong {
    color: #08221c;
    font-size: 14px;
}

.page-info-list span {
    color: var(--muted);
    line-height: 1.7;
}

.service-detail-grid,
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-detail-card,
.contact-info-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-lg);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-detail-card:hover,
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 38px 85px rgba(8, 34, 28, 0.16);
}

.service-detail-card h3,
.contact-info-card h3 {
    margin: 16px 0 12px;
    color: #09241d;
    font-size: 25px;
    line-height: 1.22;
}

.service-detail-card p,
.contact-info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.content-surface {
    background: rgba(255, 255, 255, 0.96);
}

.single-cover {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
}

.side-panel {
    position: sticky;
    top: 130px;
}

.wordpress-content {
    color: #1d312d;
}

.wordpress-content img,
.wordpress-content iframe {
    max-width: 100%;
}

.wordpress-content .elementor,
.wordpress-content .elementor * {
    box-sizing: border-box;
}

.wordpress-content p,
.wordpress-content li,
.wordpress-content blockquote {
    line-height: 1.9;
}

.wordpress-content h2,
.wordpress-content h3,
.wordpress-content h4 {
    margin-top: 1.8em;
    color: #0b251f;
}

.wordpress-content blockquote {
    margin: 24px 0;
    padding: 22px 24px;
    border-left: 4px solid var(--primary);
    background: #f6fbfa;
    border-radius: 0 18px 18px 0;
}

.custom-footer {
    margin-top: 20px;
    padding: 78px 20px 30px;
    background: linear-gradient(180deg, #071a16 0%, #04110f 100%);
    color: rgba(237, 245, 244, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr 1.1fr;
    gap: 28px;
}

.footer-brand h3,
.custom-footer h4 {
    color: #ffffff;
}

.footer-brand p,
.footer-cta-box p,
.footer-list li,
.footer-bottom {
    color: rgba(237, 245, 244, 0.72);
    line-height: 1.8;
}

.footer-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.footer-chip-row span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 13px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a:hover {
    color: #ffffff;
}

.footer-cta-box {
    padding: 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer-admin-link {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 26px;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.admin-body {
    background: linear-gradient(180deg, #edf5f3 0%, #e6efed 100%);
    color: #20322e;
    font-family: Arial, sans-serif;
}

.admin-login-card {
    width: min(440px, calc(100% - 32px));
    margin: 8vh auto;
}

.admin-form {
    display: grid;
    gap: 10px;
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.media-card input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #c9d9d5;
    border-radius: 12px;
    font: inherit;
    box-sizing: border-box;
    background: #ffffff;
}

.admin-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: linear-gradient(180deg, #08231d, #061512);
    color: #ffffff;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-brand {
    display: grid;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand h2,
.admin-brand p {
    margin: 0;
}

.admin-brand-badge,
.admin-eyebrow,
.admin-section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-nav {
    display: grid;
    gap: 8px;
}

.admin-sidebar a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: rgba(214, 236, 230, 0.84);
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.admin-sidebar a:hover,
.admin-sidebar a.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(2px);
}

.admin-sidebar-footer {
    margin-top: auto;
    display: grid;
    gap: 4px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(214, 236, 230, 0.84);
    font-size: 14px;
}

.admin-main {
    padding: 26px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.admin-topbar h1,
.admin-section-head h2 {
    margin: 10px 0 0;
}

.admin-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-soft-btn {
    background: rgba(8, 35, 29, 0.05);
    color: #0c2e27;
    border-color: rgba(8, 35, 29, 0.08);
    box-shadow: none;
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 24px;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    margin-bottom: 24px;
}

.admin-dashboard-grid-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.admin-section-head a {
    color: var(--primary);
    font-weight: 700;
}

.admin-overview-list,
.admin-list {
    display: grid;
    gap: 14px;
}

.admin-overview-list div,
.admin-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f4f9f8;
    border: 1px solid rgba(8, 45, 37, 0.06);
}

.admin-overview-list strong,
.admin-list-row strong {
    color: #08221c;
}

.admin-overview-list span,
.admin-list-row span,
.admin-list-row em,
.admin-cell-meta {
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.admin-list-row {
    text-decoration: none;
}

.admin-list-row:hover {
    border-color: rgba(11, 125, 105, 0.16);
    box-shadow: var(--shadow-md);
}

.stat-card strong {
    display: block;
    font-size: 36px;
    color: var(--primary);
}

.quick-links {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e7efed;
    text-align: left;
}

.admin-grid {
    max-width: 920px;
}

.admin-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 320px;
    gap: 24px;
    align-items: start;
}

.admin-form-section {
    display: grid;
    gap: 10px;
}

.admin-form-section h2 {
    margin: 0 0 8px;
}

.admin-media-field {
    display: grid;
    gap: 10px;
}

.admin-media-input-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
}

.admin-media-preview {
    min-height: 160px;
    border: 1px dashed #c9d9d5;
    border-radius: 18px;
    background: #f5faf9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--muted);
    text-align: center;
    padding: 12px;
}

.admin-media-preview.has-image {
    border-style: solid;
    background: #eef6f4;
}

.admin-media-preview img {
    width: 100%;
    height: 100%;
    max-height: 240px;
    object-fit: contain;
    display: block;
}

.admin-form-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
}

.admin-filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 200px auto;
    gap: 12px;
    margin-bottom: 18px;
}

.admin-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-status.is-live {
    background: #ddf5ea;
    color: #166646;
}

.admin-status.is-draft {
    background: #fff1d8;
    color: #8b5b00;
}

.admin-actions-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-actions-cell a,
.admin-media-actions a {
    color: var(--primary);
    font-weight: 700;
}

.admin-split {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: start;
}

.media-upload-box {
    max-width: 640px;
    margin-bottom: 24px;
}

.media-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.media-card {
    display: grid;
    gap: 12px;
}

.admin-media-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-modal-open {
    overflow: hidden;
}

.admin-media-modal[hidden] {
    display: none;
}

.admin-media-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.admin-media-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 16, 0.6);
    backdrop-filter: blur(6px);
}

.admin-media-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100% - 40px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    padding: 24px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(4, 20, 17, 0.24);
    overflow: auto;
}

.admin-media-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-media-modal-head h2 {
    margin: 10px 0 0;
}

.admin-media-modal-close {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #f1f6f5;
    color: #08221c;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.admin-media-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.admin-media-picker-card {
    border: 1px solid rgba(8, 45, 37, 0.08);
    border-radius: 20px;
    background: #fbfdfd;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.admin-media-picker-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 125, 105, 0.2);
}

.admin-media-picker-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    margin-bottom: 10px;
    background: #f4f8f7;
}

.admin-media-picker-card strong {
    display: block;
    color: #08221c;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.media-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    background: #f4f8f7;
}

.alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
}

.alert-success {
    background: #ddf5ea;
    color: #166646;
}

.alert-error {
    background: #ffe4e4;
    color: #9b2323;
}

.full-width {
    width: 100%;
    justify-content: center;
}

.back-link {
    display: inline-block;
    margin-top: 14px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1180px) {
    .header-shell {
        flex-wrap: wrap;
    }

    .hero-layout,
    .feature-grid,
    .section-heading-row,
    .trust-grid,
    .service-grid,
    .process-grid,
    .highlight-grid,
    .hero-meta-grid,
    .page-shell-grid,
    .service-detail-grid,
    .contact-info-grid,
    .admin-dashboard-grid,
    .admin-dashboard-grid-bottom,
    .admin-editor-grid,
    .content-layout,
    .footer-grid,
    .cta-band {
        grid-template-columns: 1fr;
    }

    .article-showcase,
    .article-lead-card,
    .article-mini-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .topbar-inner,
    .header-shell,
    .admin-topbar,
    .admin-layout {
        display: block;
    }

    .topbar-inner,
    .header-shell {
        text-align: center;
    }

    .topbar-copy,
    .topbar-links,
    .brand-wrap,
    .finwave-navbar,
    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-panel {
        min-height: 680px;
    }

    .slider-toolbar {
        margin-top: 18px;
    }

    .slider-controls {
        grid-template-columns: 1fr;
    }

    .slider-dots {
        grid-template-columns: 1fr;
    }

    .info-list-card {
        position: static;
    }

    .header-shell,
    body.is-scrolled .header-shell {
        width: min(100%, calc(100% - 20px));
    }

    body.custom-frontend {
        padding-top: 102px;
    }

    .hero-content {
        padding-top: 150px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        min-height: auto;
    }

    .admin-split {
        grid-template-columns: 1fr;
    }

    .admin-filter-bar,
    .admin-form-inline,
    .admin-media-input-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container,
    .header-shell {
        width: min(100%, calc(100% - 24px));
    }

    .home-panels,
    .single-shell,
    .inner-hero {
        padding-left: 12px;
        padding-right: 12px;
    }

    .content-card,
    .post-body,
    .content-surface,
    .admin-login-card,
    .admin-section,
    .table-card,
    .stat-card,
    .trust-card,
    .side-panel,
    .media-card,
    .cta-band {
        padding: 22px;
    }

    .hero-content p,
    .inner-hero p {
        font-size: 16px;
    }
}
