:root {
    --ocg-bg: #ffffff;
    --ocg-surface: #f6f7f8;
    --ocg-border: #d9dde3;
    --ocg-text: #17202a;
    --ocg-text-soft: #4b5563;
    --ocg-link: #0f5da8;
    --ocg-max-width: 1120px;
    --ocg-content-narrow: 720px;
    --ocg-space-1: 0.5rem;
    --ocg-space-2: 0.75rem;
    --ocg-space-3: 1rem;
    --ocg-space-4: 1.5rem;
    --ocg-space-5: 2rem;
    --ocg-radius: 12px;
    --ocg-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    --ocg-shadow-hover: 0 10px 22px rgba(15, 23, 42, 0.12);
    --ocg-border-color: rgba(0, 0, 0, 0.08);
    --ocg-surface-muted: rgba(0, 0, 0, 0.04);
    --ocg-text-muted: rgba(0, 0, 0, 0.72);
    --ocg-card-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    --ocg-divider: rgba(23, 32, 42, 0.12);
    --ocg-section-padding: 3rem;
    --ocg-button-radius: 12px;
    --ocg-button-padding: 0.75rem 1.25rem;
    --ocg-cta-max-width: 900px;
    --ocg-space-6: 3rem;
    --ocg-space-7: 4rem;
    --ocg-header-height: 72px;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ocg-bg);
    color: var(--ocg-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ocg-link);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-width {
    width: min(100% - 2rem, var(--ocg-max-width));
    margin: 0 auto;
}

.ocg-container {
    width: min(100% - 2rem, var(--ocg-max-width));
    margin: 0 auto;
}

.ocg-container-narrow {
    width: min(100% - 2rem, var(--ocg-content-narrow));
    margin: 0 auto;
}

.ocg-section-copy {
    display: flex;
    flex-direction: column;
    gap: var(--ocg-space-3);
}

.ocg-section-copy p {
    margin: 0;
}

.site-header {
    border-bottom: 0;
    background: var(--ocg-bg);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header-inner,
.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ocg-space-4);
    padding: var(--ocg-space-3) 0;
    min-height: var(--ocg-header-height);
}

.branding {
    display: flex;
    align-items: center;
    gap: var(--ocg-space-3);
    min-width: 0;
}

.site-logo-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #0c1b2b;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-brand-text .site-title {
    font-size: 1.2rem;
    letter-spacing: 0.01em;
}

.site-title,
.site-description {
    margin: 0;
}

.site-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-description {
    color: var(--ocg-text-soft);
    font-size: 0.95rem;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--ocg-border);
    background: transparent;
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    cursor: pointer;
}

.site-navigation ul,
.site-footer-nav ul {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-navigation a,
.site-footer-nav a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.35rem 0.2rem;
    border-radius: 6px;
}

.site-navigation a:hover,
.site-navigation a:focus,
.site-footer-nav a:hover,
.site-footer-nav a:focus {
    color: var(--ocg-link);
    background: rgba(15, 93, 168, 0.08);
    outline: none;
}

.site-main {
    flex: 1;
    padding: 0 0 var(--ocg-space-6);
}

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-shell__inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ocg-app-main {
    flex: 1;
    padding: 0;
    width: 100%;
}

.content-area {
    display: block;
}

.content-stack {
    display: grid;
    gap: var(--ocg-space-4);
}

.entry-card {
    background: var(--ocg-bg);
    border: 1px solid var(--ocg-border);
    border-radius: var(--ocg-radius);
    padding: var(--ocg-space-4);
    box-shadow: var(--ocg-shadow);
}

.entry-card-page {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.entry-card-module {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.entry-header {
    margin-bottom: var(--ocg-space-3);
}

.entry-title,
.archive-title {
    margin: 0;
    line-height: 1.2;
}

.entry-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.archive-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.entry-meta,
.archive-description,
.site-footer-copy,
.site-footer-nav {
    color: var(--ocg-text-soft);
    font-size: 0.95rem;
}

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

.entry-content > *:last-child {
    margin-bottom: 0;
}

.entry-content .ocg-section {
    margin-top: var(--ocg-space-6);
}

.entry-content .ocg-section:first-child {
    margin-top: 0;
}

.entry-content .ocg-section + .ocg-section {
    margin-top: var(--ocg-space-6);
}

.entry-content .ocg-section-cta {
    margin-top: var(--ocg-space-7);
}

.entry-content .ocg-section-cta:first-child {
    margin-top: 0;
}

.page-hero + .site-width .entry-content .ocg-section:first-child {
    margin-top: var(--ocg-space-7);
}

.entry-content .ocg-section h2 {
    margin: 0 0 var(--ocg-space-3);
    font-size: clamp(1.6rem, 1.5vw + 1.2rem, 2.2rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.entry-content .ocg-section h3 {
    line-height: 1.25;
}

.entry-content .section + .section {
    margin-top: var(--ocg-space-6);
}

.entry-content .section-about {
    padding: var(--ocg-section-padding) 0;
    background: var(--ocg-surface);
}

.entry-content .section-about h2 {
    margin: 0 0 var(--ocg-space-3);
    font-size: clamp(1.6rem, 1.5vw + 1.2rem, 2.2rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.entry-content .section-about p {
    margin: 0 0 var(--ocg-space-3);
    color: var(--ocg-text-soft);
}

.entry-content .section-about p:last-child {
    margin-bottom: 0;
}

.entry-content .section-about .container {
    width: min(100% - 2rem, var(--ocg-max-width));
    margin: 0 auto;
}

.ocg-page--contact .entry-content .ocg-section + .section,
.ocg-page--contact .entry-content .section + .ocg-section {
    margin-top: var(--ocg-space-6);
}

.ocg-page--contact .ocg-section-contact-info .ocg-container,
.ocg-page--contact .ocg-section-contact-form-embed .ocg-container {
    background: var(--ocg-surface);
    border: 1px solid var(--ocg-border);
    border-radius: var(--ocg-radius);
    padding: var(--ocg-space-5);
    box-shadow: var(--ocg-shadow);
}

.ocg-page--contact .ocg-section-contact-info h2,
.ocg-page--contact .ocg-section-contact-form-embed h2,
.ocg-page--contact .section.section-alt h2 {
    margin-bottom: var(--ocg-space-4);
}

.ocg-page--contact .ocg-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--ocg-space-3);
}

.ocg-page--contact .ocg-contact-list li {
    display: flex;
    flex-direction: column;
    gap: var(--ocg-space-1);
}

.ocg-page--contact .ocg-contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ocg-text-soft);
}

.ocg-page--contact .ocg-contact-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ocg-text);
    word-break: break-word;
}

.ocg-page--contact .section.section-alt {
    background: var(--ocg-surface);
    border: 1px solid var(--ocg-border);
    border-radius: var(--ocg-radius);
    padding: var(--ocg-section-padding) 0;
}

.ocg-page--contact .section.section-alt .container {
    width: min(100% - 2rem, var(--ocg-content-narrow));
    margin: 0 auto;
}

.ocg-page--home .ocg-section-intro .ocg-container,
.home .ocg-section-intro .ocg-container,
.front-page .ocg-section-intro .ocg-container {
    width: min(100% - 2rem, var(--ocg-max-width));
}

.ocg-page--home .ocg-section-intro p {
    margin-bottom: 0;
}

.ocg-page--home .ocg-section-features .ocg-items {
    gap: var(--ocg-space-4);
}

.ocg-page--home .section-about {
    margin-top: var(--ocg-space-6);
    margin-bottom: var(--ocg-space-6);
}

.ocg-page--home .section.section-alt .cards-grid {
    margin-top: var(--ocg-space-4);
    gap: var(--ocg-space-4);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ocg-page--home .section.section-alt .testimonial-stack {
    margin-top: var(--ocg-space-4);
    gap: var(--ocg-space-4);
}

.ocg-page--home .section.section-alt .testimonial {
    padding-bottom: var(--ocg-space-3);
    border-bottom: 1px solid var(--ocg-border);
}

.ocg-page--home .section.section-alt .testimonial:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ocg-page--home .ocg-section-cta {
    margin-top: var(--ocg-space-7);
}

.ocg-page--service .ocg-section-service-intro .ocg-container {
    width: min(100% - 2rem, var(--ocg-max-width));
}

.ocg-page--service .ocg-section-service-intro.layout-image-left .ocg-container,
.ocg-page--service .ocg-section-service-intro.layout-image-right .ocg-container,
.ocg-page--service .ocg-section-service-intro.layout-stacked .ocg-container {
    width: min(100% - 2rem, var(--ocg-max-width));
}

.ocg-page--service .ocg-section-service-intro .media img {
    border-radius: var(--ocg-radius);
    box-shadow: var(--ocg-shadow);
}

.ocg-page--service .ocg-section-features .ocg-items {
    gap: var(--ocg-space-4);
}

.ocg-page--service .ocg-section-features .ocg-item.feature-card {
    background: var(--ocg-surface);
    border: 1px solid var(--ocg-border);
    border-radius: var(--ocg-radius);
    box-shadow: var(--ocg-shadow);
    overflow: hidden;
}

.ocg-page--service .ocg-section-features .feature-content {
    padding: var(--ocg-space-4);
}

.ocg-page--service .ocg-section-features--list .ocg-feature-item {
    padding: var(--ocg-space-3) 0;
    border-bottom: 1px solid var(--ocg-border);
}

.ocg-page--service .ocg-section-features--list .ocg-feature-item:last-child {
    border-bottom: 0;
}

.ocg-page--service .ocg-section-cta {
    margin-top: var(--ocg-space-7);
}

.ocg-page--about .ocg-section-company-story {
    margin-top: var(--ocg-space-6);
}

.ocg-page--about .ocg-section-company-story .ocg-container {
    width: min(100% - 2rem, var(--ocg-max-width));
    gap: var(--ocg-space-5);
    align-items: center;
}

.ocg-page--about .ocg-section-company-story h2,
.ocg-page--about .ocg-section-company-story p {
    max-width: var(--ocg-content-narrow);
}

.ocg-page--about .ocg-section-company-story p {
    margin-top: var(--ocg-space-3);
}

.ocg-page--about .ocg-section-company-story .media img {
    border-radius: var(--ocg-radius);
    box-shadow: var(--ocg-shadow);
}

.ocg-page--about .ocg-section-cta {
    margin-top: var(--ocg-space-7);
}

.ocg-page--home .ocg-section-cta h2,
.ocg-page--about .ocg-section-cta h2,
.ocg-page--service .ocg-section-cta h2 {
    margin-bottom: var(--ocg-space-2);
}

.ocg-page--home .ocg-section-cta p,
.ocg-page--about .ocg-section-cta p,
.ocg-page--service .ocg-section-cta p {
    margin-top: 0;
    margin-bottom: var(--ocg-space-3);
    max-width: var(--ocg-content-narrow);
}

.ocg-page--home .ocg-section-cta .ocg-container,
.ocg-page--about .ocg-section-cta .ocg-container,
.ocg-page--service .ocg-section-cta .ocg-container {
    align-items: flex-start;
}

.entry-content .section-about .container.split {
    display: grid;
    gap: var(--ocg-space-5);
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.entry-content .section-about .split-content:only-child {
    grid-column: 1 / -1;
}

.entry-content .section-about .split-media img {
    width: 100%;
    border-radius: var(--ocg-radius);
    box-shadow: var(--ocg-shadow);
}

.entry-content .wp-block-group,
.entry-content .wp-block-cover,
.entry-content .wp-block-columns,
.entry-content .wp-block-media-text,
.entry-content .wp-block-quote,
.entry-content .wp-block-table,
.entry-content form,
.entry-content .shortcode-wrapper,
.entry-content [class*="portal"],
.entry-content [class*="message"],
.entry-content [class*="draft"] {
    margin-bottom: var(--ocg-space-4);
}

.hero {
    padding: var(--ocg-space-6) 0;
    width: 100%;
}


.page-hero {
    position: relative;
    width: 100%;
    margin: 0 0 var(--ocg-space-6);
    background: #0c1b2b;
    overflow: hidden;
}

.page-hero-media {
    width: 100%;
    min-height: 420px;
    max-height: 560px;
    overflow: hidden;
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.page-hero-inner {
    position: relative;
    padding: var(--ocg-space-7) 0;
}

.page-hero-content {
    max-width: 640px;
}

.page-hero-content h1 {
    margin: 0 0 var(--ocg-space-2);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.page-hero-content .hero-subtext {
    margin: 0 0 var(--ocg-space-4);
    font-size: 1.1rem;
    color: #eef3f8;
}

.page-hero-overlay {
    color: #ffffff;
}

.page-hero-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.38) 0%,
        rgba(0, 0, 0, 0.23) 40%,
        rgba(0, 0, 0, 0.43) 100%
    );
    z-index: 1;
}

.page-hero-overlay .page-hero-media {
    position: absolute;
    inset: 0;
    max-height: none;
    z-index: 0;
}

.page-hero-overlay .page-hero-inner {
    min-height: 420px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.page-hero-overlay .page-hero-media img {
    filter: saturate(0.95);
}

.page-hero-overlay-center .page-hero-inner {
    justify-content: center;
    text-align: center;
}

.page-hero-overlay-center .page-hero-content {
    margin: 0 auto;
}


.page-hero ~ .site-width .entry-content .hero {
    display: none;
}

.button,
.entry-content .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: var(--ocg-button-padding);
    border-radius: var(--ocg-button-radius);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    background: var(--ocg-link);
    color: #ffffff;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    box-shadow: var(--ocg-shadow);
}

.button:hover,
.button:focus {
    filter: brightness(0.97);
    transform: translateY(-1px);
    box-shadow: var(--ocg-shadow-hover);
    text-decoration: none;
}

.button.button-light {
    background: #ffffff;
    color: #0c1b2b;
    border-color: rgba(255, 255, 255, 0.6);
}

.site-footer {
    border-top: 1px solid var(--ocg-border);
    background: var(--ocg-surface);
    padding: var(--ocg-space-5) 0;
}

.site-footer-inner {
    gap: var(--ocg-space-4);
}

.site-footer-copy p {
    margin: 0;
    font-weight: 600;
}

@media (max-width: 860px) {
    .site-header-inner {
        flex-wrap: wrap;
    }

    .site-navigation ul {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .page-hero-inner {
        padding: var(--ocg-space-6) 0;
    }
}

.page-hero.variant-overlay .media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero .container {
    width: min(100% - 2rem, var(--ocg-max-width));
    margin: 0 auto;
}

.hero.layout-row .container,
.hero.layout-stacked .container {
    display: flex;
    gap: var(--ocg-space-5);
    align-items: center;
}

.hero.layout-row .container {
    flex-direction: row;
}

.hero.layout-row.image-left .container {
    flex-direction: row-reverse;
}

.hero.layout-stacked .container {
    flex-direction: column;
}

.hero.layout-row .content,
.hero.layout-stacked .content {
    flex: 1;
    max-width: 38rem;
}

.hero.layout-row .media,
.hero.layout-stacked .media {
    flex: 1;
    aspect-ratio: 12 / 5;
    max-height: 450px;
}

.hero .eyebrow {
    margin: 0 0 var(--ocg-space-2);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ocg-text-soft);
}

.hero h1 {
    margin: 0 0 var(--ocg-space-3);
    font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
    line-height: 1.1;
}

.hero .hero-subtext {
    margin: 0 0 var(--ocg-space-4);
    color: var(--ocg-text-soft);
    max-width: 34rem;
}

.hero .button {
    margin-top: var(--ocg-space-2);
}

.ocg-section-intro--centered_narrow .ocg-container {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.ocg-section-intro--centered_narrow p {
    margin-left: auto;
    margin-right: auto;
}

.ocg-section-features--list .ocg-container {
    max-width: var(--ocg-content-narrow);
}

.ocg-section-features--list .ocg-feature-list {
    display: flex;
    flex-direction: column;
    margin-top: var(--ocg-space-3);
}

.ocg-section-features--list h2 {
    margin-bottom: var(--ocg-space-3);
    font-size: clamp(1.75rem, 2vw + 1rem, 2.4rem);
    letter-spacing: 0.01em;
}

.ocg-section-features--list .ocg-feature-item {
    padding: calc(var(--ocg-space-3) + 0.25rem) 0;
    border-bottom: 1px solid var(--ocg-divider);
    background: transparent;
}

.ocg-section-features--list .ocg-feature-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ocg-section-features--list .ocg-feature-item h3 {
    margin: 0 0 var(--ocg-space-1);
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}

.ocg-section-features--list .ocg-feature-item p {
    margin: 0;
    color: var(--ocg-text-soft);
    line-height: 1.7;
}

.ocg-section-cta {
    padding: var(--ocg-section-padding) 0;
}

.ocg-section-cta .ocg-container {
    background: var(--ocg-surface);
    border: 1px solid var(--ocg-border);
    border-radius: var(--ocg-radius);
    padding: var(--ocg-space-5);
    display: flex;
    flex-direction: column;
    gap: var(--ocg-space-2);
    max-width: min(100% - 2rem, var(--ocg-cta-max-width));
    margin: 0 auto;
}

.ocg-section-cta .button {
    align-self: flex-start;
    padding: var(--ocg-button-padding);
    border-radius: var(--ocg-button-radius);
}

.ocg-section-cta--banner {
    background: #0c1b2b;
    color: #ffffff;
}

.ocg-section-cta--banner .ocg-container {
    background: transparent;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ocg-space-4);
    flex-wrap: wrap;
    max-width: min(100% - 2rem, var(--ocg-cta-max-width));
    margin: 0 auto;
}

.ocg-section-cta--banner .button {
    background: #ffffff;
    color: #0c1b2b;
}

.hero.layout-row .media img,
.hero.layout-stacked .media img {
    width: 100%;
    height: 100%;
    border-radius: var(--ocg-radius);
    box-shadow: var(--ocg-shadow);
    display: block;
    object-fit: cover;
}

.ocg-section.layout-image-left .ocg-container,
.ocg-section.layout-image-right .ocg-container,
.ocg-section.layout-stacked .ocg-container {
    display: grid;
    gap: var(--ocg-space-4);
    align-items: start;
}

.ocg-section.layout-image-left .ocg-container,
.ocg-section.layout-image-right .ocg-container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ocg-section.image-left .media {
    order: 0;
}

.ocg-section.image-left .content {
    order: 1;
}

.ocg-section.image-right .content {
    order: 0;
}

.ocg-section.image-right .media {
    order: 1;
}

.ocg-section.image-top .media {
    order: 0;
}

.ocg-section.image-top .content {
    order: 1;
}

.ocg-section.image-bottom .content {
    order: 0;
}

.ocg-section.image-bottom .media {
    order: 1;
}

.ocg-section .media img {
    display: block;
    width: 100%;
    height: auto;
}

.ocg-items {
    display: grid;
    gap: var(--ocg-space-4);
}

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

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

.ocg-items-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ocg-page--home .ocg-section-features .ocg-items,
.home .ocg-section-features .ocg-items,
.front-page .ocg-section-features .ocg-items {
    display: grid;
    gap: var(--ocg-space-4);
    grid-template-columns: 1fr;
}

.ocg-page--home .ocg-section-features .ocg-item,
.home .ocg-section-features .ocg-item,
.front-page .ocg-section-features .ocg-item {
    min-width: 0;
    grid-column: auto;
}

.ocg-item.feature-card {
    border: 1px solid var(--ocg-border-color);
    border-radius: 12px;
    padding: calc(var(--ocg-space-4) + 0.25rem);
    background: var(--ocg-surface, #fff);
    display: flex;
    flex-direction: column;
    gap: var(--ocg-space-3);
    box-shadow: var(--ocg-card-shadow);
}

.feature-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: calc(var(--ocg-radius) - 2px);
    background: var(--ocg-surface-muted);
}

.feature-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.feature-media.is-empty {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.06));
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-content h3 {
    margin: 0;
}

.feature-content p {
    margin: 0;
    color: var(--ocg-text-muted);
}

.feature-content .button {
    margin-top: auto;
}

@media (hover: hover) and (pointer: fine) {
    .ocg-item.feature-card {
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .ocg-item.feature-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--ocg-shadow-hover);
    }
}

@media (max-width: 1024px) {
    .page-hero {
        display: grid;
    }

    .page-hero .page-hero-media,
    .page-hero .page-hero-inner {
        grid-area: 1 / 1;
    }

    .page-hero .page-hero-media {
        position: absolute !important;
        inset: 0 !important;
        max-height: none !important;
        min-height: 360px;
    }

    .page-hero .page-hero-inner {
        position: relative;
        z-index: 1;
        padding: var(--ocg-space-6) 0;
        min-height: 360px;
    }

    .home .hero,
    .front-page .hero {
        position: relative;
        color: #ffffff;
        overflow: hidden;
    }

    .home .hero::before,
    .front-page .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 0;
    }

    .home .hero .container,
    .front-page .hero .container {
        position: relative;
        z-index: 1;
        min-height: 360px;
        display: flex;
        align-items: center;
    }

    .home .hero .media,
    .front-page .hero .media {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-height: none;
    }

    .home .hero .media img,
    .front-page .hero .media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
    }

    .home .hero .hero-subtext,
    .front-page .hero .hero-subtext,
    .home .hero .eyebrow,
    .front-page .hero .eyebrow {
        color: rgba(255, 255, 255, 0.85);
    }
}

@media (max-width: 900px) {
    .ocg-items-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ocg-section-features .ocg-items {
        gap: var(--ocg-space-3);
    }

    .ocg-section-features .ocg-item {
        border: 1px solid var(--ocg-border-color, rgba(0, 0, 0, 0.08));
        border-radius: 12px;
        padding: calc(var(--ocg-space-3) + 0.25rem);
        background: var(--ocg-surface, #fff);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    }
}

@media (hover: none) and (pointer: coarse) and (max-width: 1200px) {
    .page-hero {
        display: grid;
    }

    .page-hero .page-hero-media,
    .page-hero .page-hero-inner {
        grid-area: 1 / 1;
    }

    .page-hero .page-hero-media {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        min-height: 360px;
    }

    .page-hero .page-hero-inner {
        position: relative;
        z-index: 1;
        min-height: 360px;
    }

    .home .hero,
    .front-page .hero {
        position: relative;
        color: #ffffff;
        overflow: hidden;
    }

    .home .hero::before,
    .front-page .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 0;
    }

    .home .hero .container,
    .front-page .hero .container {
        position: relative;
        z-index: 1;
        min-height: 360px;
        display: flex;
        align-items: center;
    }

    .home .hero .media,
    .front-page .hero .media {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .home .hero .media img,
    .front-page .hero .media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
    }

    .home .hero .hero-subtext,
    .front-page .hero .hero-subtext,
    .home .hero .eyebrow,
    .front-page .hero .eyebrow {
        color: rgba(255, 255, 255, 0.85);
    }

    .ocg-section-features .ocg-items {
        gap: var(--ocg-space-3);
    }

    .ocg-section-features .ocg-item {
        border: 1px solid var(--ocg-border-color, rgba(0, 0, 0, 0.08));
        border-radius: 12px;
        padding: calc(var(--ocg-space-3) + 0.25rem);
        background: var(--ocg-surface, #fff);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    }
}

@media (max-width: 768px) {
    .hero.layout-row .container {
        flex-direction: column;
    }

    .entry-content .section-about .container.split {
        grid-template-columns: 1fr;
    }

    .ocg-section.layout-image-left .ocg-container,
    .ocg-section.layout-image-right .ocg-container {
        grid-template-columns: 1fr;
    }

    .ocg-items-2,
    .ocg-items-3,
    .ocg-items-4 {
        grid-template-columns: 1fr;
    }

    .ocg-items-count-2,
    .ocg-items-count-4,
    .ocg-items-count-5 {
        grid-template-columns: 1fr;
    }

    .ocg-page--home .ocg-section-trust .cards-grid,
    .home .ocg-section-trust .cards-grid,
    .front-page .ocg-section-trust .cards-grid {
        grid-auto-flow: column;
        grid-auto-columns: minmax(85%, 1fr);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 7.5%;
        padding-bottom: var(--ocg-space-2);
        -webkit-overflow-scrolling: touch;
    }

    .ocg-page--home .ocg-section-trust .cards-grid .card,
    .home .ocg-section-trust .cards-grid .card,
    .front-page .ocg-section-trust .cards-grid .card {
        scroll-snap-align: center;
    }

    .ocg-section-features--list .ocg-container {
        max-width: 100%;
    }

    .ocg-section-features--list .ocg-feature-list {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .ocg-section-features--list .ocg-feature-item {
        width: 100%;
    }

}

@media (min-width: 769px) and (max-width: 1024px) {
    .ocg-page--home .ocg-section-features .ocg-items-count-2,
    .ocg-page--home .ocg-section-features .ocg-items-count-3,
    .ocg-page--home .ocg-section-features .ocg-items-count-4,
    .ocg-page--home .ocg-section-features .ocg-items-count-5,
    .home .ocg-section-features .ocg-items-count-2,
    .home .ocg-section-features .ocg-items-count-3,
    .home .ocg-section-features .ocg-items-count-4,
    .home .ocg-section-features .ocg-items-count-5,
    .front-page .ocg-section-features .ocg-items-count-2,
    .front-page .ocg-section-features .ocg-items-count-3,
    .front-page .ocg-section-features .ocg-items-count-4,
    .front-page .ocg-section-features .ocg-items-count-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ocg-page--home .ocg-section-features .ocg-items-count-5 .ocg-item,
    .home .ocg-section-features .ocg-items-count-5 .ocg-item,
    .front-page .ocg-section-features .ocg-items-count-5 .ocg-item {
        grid-column: auto;
    }
}

@media (min-width: 1025px) {
    .ocg-page--home .ocg-section-features .ocg-items-count-2,
    .home .ocg-section-features .ocg-items-count-2,
    .front-page .ocg-section-features .ocg-items-count-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ocg-page--home .ocg-section-features .ocg-items-count-3,
    .home .ocg-section-features .ocg-items-count-3,
    .front-page .ocg-section-features .ocg-items-count-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ocg-page--home .ocg-section-features .ocg-items-count-4,
    .home .ocg-section-features .ocg-items-count-4,
    .front-page .ocg-section-features .ocg-items-count-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ocg-page--home .ocg-section-features .ocg-items-count-5,
    .home .ocg-section-features .ocg-items-count-5,
    .front-page .ocg-section-features .ocg-items-count-5 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-flow: row dense;
    }

    .ocg-page--home .ocg-section-features .ocg-items-count-5 .ocg-item,
    .home .ocg-section-features .ocg-items-count-5 .ocg-item,
    .front-page .ocg-section-features .ocg-items-count-5 .ocg-item {
        grid-column: span 2;
    }

    .ocg-page--home .ocg-section-features .ocg-items-count-5 .ocg-item:nth-child(4),
    .home .ocg-section-features .ocg-items-count-5 .ocg-item:nth-child(4),
    .front-page .ocg-section-features .ocg-items-count-5 .ocg-item:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .ocg-page--home .ocg-section-features .ocg-items-count-5 .ocg-item:nth-child(5),
    .home .ocg-section-features .ocg-items-count-5 .ocg-item:nth-child(5),
    .front-page .ocg-section-features .ocg-items-count-5 .ocg-item:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.entry-content iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
}

.ocg-module-page .site-main {
    padding: 0;
}

.ocg-module-page .content-area {
    width: 100%;
}

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

.entry-content th,
.entry-content td {
    padding: 0.75rem;
    border: 1px solid var(--ocg-border);
    text-align: left;
}

.entry-content input,
.entry-content select,
.entry-content textarea,
.entry-content button {
    font: inherit;
}

.entry-content input,
.entry-content select,
.entry-content textarea {
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--ocg-border);
    border-radius: 8px;
    padding: 0.75rem;
}

.entry-content button,
.entry-content .button,
.entry-content input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    border: 1px solid var(--ocg-border);
    background: var(--ocg-surface);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
}

.portal-shell,
.portal-card,
.ocg-message-card,
.ocg-draft-editor-shell,
.ocg-ticket-card {
    width: 100%;
    max-width: 100%;
}

.site-footer {
    border-top: 1px solid var(--ocg-border);
    background: var(--ocg-surface);
    margin-top: auto;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

.screen-reader-text:focus {
    left: 1rem;
    top: 1rem;
    z-index: 100000;
    background: #fff;
    color: #000;
    padding: 0.75rem 1rem;
}

.ocg-page--home .ocg-section-trust .section-title,
.ocg-page--home .ocg-section-testimonials .section-title {
    font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ocg-text-soft);
    font-weight: 700;
    margin-bottom: var(--ocg-space-3);
}

.ocg-page--home .ocg-section-trust .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--ocg-space-4);
}

.ocg-page--home .ocg-section-trust .card {
    border-radius: 16px;
    border: 1px solid var(--ocg-border);
    background: var(--ocg-bg);
    padding: var(--ocg-space-4);
    box-shadow: var(--ocg-shadow);
}

.ocg-page--home .ocg-section-trust .card h3 {
    margin: 0 0 var(--ocg-space-2);
    font-size: 1.1rem;
}

.ocg-page--home .ocg-section-testimonials .testimonial-stack {
    display: grid;
    gap: var(--ocg-space-4);
}

.ocg-page--home .ocg-section-testimonials .testimonial {
    border-radius: 18px;
    padding: var(--ocg-space-4);
    background: var(--ocg-surface);
    border: 1px solid var(--ocg-border);
    position: relative;
    box-shadow: var(--ocg-card-shadow);
}

.ocg-page--home .ocg-section-testimonials .testimonial::before {
    content: "“";
    position: absolute;
    top: -12px;
    left: 20px;
    font-size: 3rem;
    color: var(--ocg-text-soft);
}

.ocg-page--home .ocg-section-testimonials .testimonial p {
    margin-bottom: var(--ocg-space-3);
    font-size: 1.05rem;
}

.ocg-page--home .ocg-section-testimonials .testimonial strong {
    display: block;
    font-weight: 700;
    color: var(--ocg-text);
}

.ocg-section-service-area .ocg-service-area-text {
    margin-bottom: 0;
    font-size: 1.05rem;
    color: var(--ocg-text-soft);
}

@media (max-width: 820px) {
    .site-header-inner,
    .site-footer-inner {
        flex-wrap: wrap;
    }

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

    .site-navigation {
        width: 100%;
        display: none;
    }

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

    .site-navigation ul,
    .site-footer-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-main {
        padding: var(--ocg-space-4) 0;
    }

    .entry-card {
        padding: var(--ocg-space-3);
    }
}
