/*
Theme Name: Ognik Theme
Theme URI: https://ognik.pl
Author: SEO4U
Description: Dedykowany motyw FSE dla firmy Ognik2 — dystrybutora gazów technicznych, serwisu PPOŻ i punktu wymiany SodaStream.
Version: 3.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU GPL v2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ognik-theme
*/

/* ── Design tokens (LIGHT MODE) ──────────────────────── */
:root {
    /* Brand palette */
    --og-red: #CC1F1F;
    --og-red-dark: #8B1010;
    --og-red-hero: #B01818;
    --og-red-light: #E63030;
    --og-red-glow: rgba(198, 31, 31, 0.25);
    --og-crimson-grad: linear-gradient(145deg, #8B1010 0%, #B52020 45%, #D63A3A 100%);

    /* Neutrals — light mode */
    --og-bg: #FFFFFF;
    --og-text: #111111;
    --og-text-mid: #374151;
    --og-muted: #6B7280;
    --og-border: rgba(0, 0, 0, 0.09);
    --og-border-light: rgba(0, 0, 0, 0.06);

    /* Surfaces — light mode */
    --og-surface: #FFFFFF;
    --og-surface2: #FFF8F7;
    --og-surface-hero: rgba(255, 255, 255, 0.13);
    --og-border-hero: rgba(255, 255, 255, 0.22);

    /* Accents */
    --og-blue: #1D4ED8;
    --og-blue-light: #3B82F6;
    --og-blue-glow: rgba(29, 78, 216, 0.15);
    --og-green: #059669;
    --og-green-light: #10B981;
    --og-green-glow: rgba(5, 150, 105, 0.15);
    --og-gold: #D97706;

    --og-radius: 20px;
    --og-radius-xl: 28px;
    --og-radius-sm: 8px;

    /* Shadows — light mode */
    --og-shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .05);
    --og-shadow-md: 0 4px 16px rgba(0, 0, 0, .09), 0 2px 6px rgba(0, 0, 0, .06);
    --og-shadow-lg: 0 12px 40px rgba(0, 0, 0, .12), 0 4px 12px rgba(0, 0, 0, .07);
}

/* ── Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    background: var(--og-bg);
    color: var(--og-text);
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* ── Animated mesh background (light mode) ────────────── */
.og-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.og-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.15;
    animation: og-drift 26s ease-in-out infinite;
}

.og-blob-red {
    width: 900px;
    height: 900px;
    background: #C01818;
    top: -380px;
    left: -200px;
    animation-delay: 0s;
    opacity: 0.12;
}

.og-blob-blue {
    width: 700px;
    height: 700px;
    background: #93C5FD;
    bottom: 20%;
    right: -200px;
    animation-delay: -10s;
    opacity: 0.1;
}

.og-blob-green {
    width: 500px;
    height: 500px;
    background: #6EE7B7;
    top: 55%;
    left: 35%;
    animation-delay: -18s;
    opacity: 0.08;
}

@keyframes og-drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-30px, -50px) scale(1.05);
    }

    66% {
        transform: translate(20px, 40px) scale(0.97);
    }
}

/* Noise texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.018;
}

.og-wrap {
    position: relative;
    z-index: 2;
}

/* ── Navbar (light mode — sticky) ────────────────────── */
.og-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .7rem 4rem;
    background: rgba(30, 10, 10, .25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.og-nav-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}

.og-nav-flame {
    width: 38px;
    height: 38px;
    background: linear-gradient(140deg, var(--og-red-dark) 0%, var(--og-red-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px var(--og-red-glow);
}

.og-nav-flame svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.og-nav-brand {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #FFFFFF;
    letter-spacing: -.01em;
}

.og-nav-brand em {
    font-style: normal;
    color: #FFCDD2;
}

.og-nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.og-mobile-phone {
    display: none !important;
}

.og-nav-menu>li {
    position: relative;
}

.og-nav-menu>li>a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: .875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    letter-spacing: .01em;
    transition: color .2s;
    padding: .5rem 0;
    display: block;
}

.og-nav-menu>li>a:hover {
    color: #FFFFFF;
}

/* ── Desktop dropdown ───────────────────────────────── */
.og-sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: rgba(20, 10, 10, .92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: .5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s, transform .25s;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
    z-index: 300;
}

.og-has-sub:hover>.og-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.og-sub li a {
    display: block;
    padding: .6rem 1.4rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: .82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: background .2s, color .2s;
    white-space: nowrap;
}

.og-sub li a:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

/* ── Hamburger button ───────────────────────────────── */
.og-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 310;
}

.og-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.og-burger.og-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.og-burger.og-active span:nth-child(2) {
    opacity: 0;
}

.og-burger.og-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Drawer overlay ─────────────────────────────────── */
.og-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 199;
    opacity: 0;
    transition: opacity .3s;
}

.og-drawer-overlay.og-show {
    display: block;
    opacity: 1;
}

.og-nav-phone {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1.3rem;
    background: var(--og-red);
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--og-red-glow);
    transition: all .3s ease;
}

.og-nav-phone:hover {
    transform: translateY(-2px);
    background: var(--og-red-dark);
    box-shadow: 0 8px 32px rgba(139, 16, 16, .4);
}

.og-nav-phone svg {
    width: 15px;
    height: 15px;
}

/* ── Float button — hidden on mobile until scroll ──── */
.og-float {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .4s, transform .4s;
}

/* ── Section primitives ──────────────────────────────── */
.og-section {
    padding: 7rem 4rem;
    max-width: 1440px;
    margin: 0 auto;
}

.og-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--og-red);
    margin-bottom: 1.25rem;
}

.og-tag::before {
    content: '';
    width: 18px;
    height: 1.5px;
    background: currentColor;
}

.og-h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--og-text);
    margin-bottom: 1.5rem;
}

.og-sub {
    font-size: 1.05rem;
    color: var(--og-muted);
    max-width: 580px;
    line-height: 1.72;
    margin-bottom: 4rem;
}

/* ── Buttons ─────────────────────────────────────────── */
.og-btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    border-radius: 13px;
    text-decoration: none;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.og-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.og-btn-red {
    background: var(--og-red);
    color: #fff;
    box-shadow: 0 8px 24px var(--og-red-glow), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.og-btn-red:hover {
    transform: translateY(-3px);
    background: var(--og-red-dark);
    box-shadow: 0 14px 36px rgba(139, 16, 16, .4);
}

.og-btn-outline {
    background: transparent;
    color: var(--og-text);
    border: 1px solid var(--og-border);
}

.og-btn-outline:hover {
    background: var(--og-surface2);
    border-color: rgba(0, 0, 0, .15);
}

/* ── Bento grid ──────────────────────────────────────── */
.og-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.og-bc {
    background: var(--og-surface);
    border: 1px solid var(--og-border);
    border-radius: var(--og-radius);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.165, .84, .44, 1), box-shadow .3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: var(--og-shadow-md);
}

.og-bc::after {
    content: none;
}

.og-bc:hover {
    transform: translateY(-5px);
    box-shadow: var(--og-shadow-lg);
}

.og-bc.blue {
    border-top: 3px solid var(--og-blue);
    background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
}

.og-bc.green {
    border-top: 3px solid var(--og-green);
    background: linear-gradient(180deg, #F0FFF8 0%, #FFFFFF 100%);
}

.og-bc.accent-red {
    border-top: 3px solid var(--og-red);
    background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 100%);
}

.og-bc.accent-blue {
    border-top: 3px solid var(--og-blue);
    background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
}

.og-bc.c4 {
    grid-column: span 4;
    min-height: 280px;
}

.og-bc.c7 {
    grid-column: span 4;
    min-height: 280px;
}

.og-bc.c5 {
    grid-column: span 4;
    min-height: 280px;
}

.og-bc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    flex-shrink: 0;
}

.og-bc-icon svg {
    width: 26px;
    height: 26px;
}

.og-icon-r {
    background: rgba(204, 31, 31, .1);
    color: var(--og-red);
    border: 1px solid rgba(204, 31, 31, .18);
}

.og-icon-b {
    background: rgba(29, 78, 216, .1);
    color: var(--og-blue);
    border: 1px solid rgba(29, 78, 216, .18);
}

.og-icon-g {
    background: rgba(5, 150, 105, .1);
    color: var(--og-green);
    border: 1px solid rgba(5, 150, 105, .18);
}

.og-bc-over {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--og-muted);
    margin-bottom: .5rem;
}

.og-bc-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--og-text);
    margin-bottom: .85rem;
}

.og-bc-desc {
    font-size: .875rem;
    color: var(--og-muted);
    line-height: 1.68;
    flex: 1;
}

.og-bc-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 1.75rem;
    transition: gap .2s ease;
    position: relative;
    z-index: 1;
    color: var(--og-blue);
}

.og-bc-link.r {
    color: var(--og-red);
}

.og-bc-link.g {
    color: var(--og-green);
}

.og-bc-link svg {
    width: 15px;
    height: 15px;
    transition: transform .2s;
}

.og-bc:hover .og-bc-link {
    gap: .7rem;
}

.og-bc:hover .og-bc-link svg {
    transform: translateX(4px);
}

/* ── Features row ──────────────────────────────────── */
.og-feats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--og-border);
    border-radius: var(--og-radius);
    overflow: hidden;
}

.og-feat {
    background: #FFFFFF;
    padding: 2.75rem 2.25rem;
    position: relative;
    transition: background .25s;
}

.og-feat::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--og-red), transparent);
    opacity: 0;
    transition: opacity .25s;
}

.og-feat:hover {
    background: var(--og-surface2);
}

.og-feat:hover::after {
    opacity: 1;
}

.og-feat-n {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(204, 31, 31, .2);
    margin-bottom: 1.25rem;
}

.og-feat-t {
    font-size: 1rem;
    font-weight: 700;
    color: var(--og-text);
    margin-bottom: .5rem;
}

.og-feat-d {
    font-size: .875rem;
    color: var(--og-muted);
    line-height: 1.65;
}

/* ── SEO text block ─────────────────────────────────── */
.og-seo {
    background: var(--og-surface);
    border: 1px solid var(--og-border);
    border-radius: var(--og-radius-xl);
    padding: 3.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 5rem;
}

.og-seo h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--og-text);
    margin-bottom: 1rem;
}

.og-seo p {
    font-size: .92rem;
    color: var(--og-muted);
    line-height: 1.75;
    margin-bottom: .75rem;
}

/* ── Location map layout ──────────────────────────── */
.og-loc-layout {
    display: grid;
    grid-template-columns: 26% 1fr;
    gap: 1.5rem;
    height: 560px;
}

.og-loc-list {
    background: #FFFFFF;
    border: 1px solid var(--og-border);
    border-radius: var(--og-radius);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, .1) transparent;
    box-shadow: var(--og-shadow-sm);
}

.og-loc-list::-webkit-scrollbar {
    width: 4px;
}

.og-loc-list::-webkit-scrollbar-track {
    background: transparent;
}

.og-loc-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .12);
    border-radius: 4px;
}

.og-loc-item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--og-border-light);
    cursor: pointer;
    transition: background .2s ease;
}

.og-loc-item:last-child {
    border-bottom: none;
}

.og-loc-item:hover {
    background: #FFF5F5;
}

.og-loc-item.active {
    background: #FFF0EE;
    border-left: 3px solid var(--og-red);
    padding-left: calc(1.25rem - 3px);
}

.og-loc-item.active .og-loc-city {
    color: var(--og-red);
}

.og-loc-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--og-green);
    box-shadow: 0 0 6px rgba(5, 150, 105, .5);
    margin-top: .35rem;
    flex-shrink: 0;
}

.og-loc-dot.hq {
    background: var(--og-red);
    box-shadow: 0 0 6px rgba(204, 31, 31, .5);
}

.og-loc-city {
    font-family: 'Space Grotesk', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    color: var(--og-text);
    line-height: 1.2;
}

.og-loc-name {
    font-size: .78rem;
    color: var(--og-muted);
    margin-top: .15rem;
}

.og-loc-addr {
    font-size: .73rem;
    color: #9CA3AF;
    margin-top: .1rem;
}

.og-map-wrap {
    border-radius: var(--og-radius);
    overflow: hidden;
    border: 1px solid var(--og-border);
    position: relative;
}

/* ── CTA Band (red gradient) ────────────────────────── */
.og-cta {
    margin: 0 4rem 7rem;
    background: linear-gradient(135deg, #7A0E0E 0%, #B01818 40%, #CC1F1F 100%);
    border-radius: var(--og-radius-xl);
    padding: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(140, 14, 14, .35);
}

.og-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, .08) 0%, transparent 70%);
    pointer-events: none;
}

.og-cta-h {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.1;
    max-width: 520px;
    color: #FFFFFF;
}

.og-cta-h em {
    font-style: normal;
    color: #FFCDD2;
}

.og-cta-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* CTA buttons on dark bg should be white/outline */
.og-cta .og-btn-red {
    background: #FFFFFF;
    color: var(--og-red-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.og-cta .og-btn-red:hover {
    background: #FFF5F5;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .3);
}

.og-cta .og-btn-outline {
    background: rgba(255, 255, 255, .14);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, .35);
}

.og-cta .og-btn-outline:hover {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .5);
}

/* Blue CTA variant for gas subpages */
.og-cta-blue {
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 40%, #1565c0 100%);
    box-shadow: 0 20px 60px rgba(13, 40, 71, .45);
}

.og-cta-blue .og-cta-h em {
    color: #90CAF9;
}

.og-cta-blue .og-btn-red {
    background: #2196F3;
    color: #fff;
    box-shadow: 0 8px 24px rgba(33, 150, 243, .4);
}

.og-cta-blue .og-btn-red:hover {
    background: #1976D2;
    box-shadow: 0 14px 36px rgba(33, 150, 243, .5);
}

/* SodaStream CTA variant */
.og-cta-soda {
    background: linear-gradient(135deg, #1a0a2e 0%, #7b2d8e 40%, #c74b8f 70%, #4a90d9 100%);
    box-shadow: 0 20px 60px rgba(123, 45, 142, .35);
}

.og-cta-soda .og-cta-h em {
    color: #f8bbd0;
}

.og-cta-soda .og-btn-red {
    background: linear-gradient(135deg, #c74b8f, #7b2d8e);
    color: #fff;
    box-shadow: 0 8px 24px rgba(199, 75, 143, .4);
}

.og-cta-soda .og-btn-red:hover {
    background: linear-gradient(135deg, #d65a9e, #8a3d9e);
    box-shadow: 0 14px 36px rgba(199, 75, 143, .5);
}

/* ── Floating phone button ─────────────────────────── */
.og-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .85rem 1.8rem;
    background: var(--og-red);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 8px 40px rgba(204, 31, 31, .55);
    transition: all .3s ease;
}

.og-float:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 60px rgba(204, 31, 31, .7);
}

.og-float svg {
    width: 19px;
    height: 19px;
}

.og-ring {
    position: absolute;
    inset: -5px;
    border-radius: 100px;
    border: 2px solid rgba(204, 31, 31, .45);
    animation: og-ring 2.5s ease infinite;
}

@keyframes og-ring {

    0%,
    100% {
        opacity: .7;
        transform: scale(1);
    }

    50% {
        opacity: 0;
        transform: scale(1.12);
    }
}

/* ── Leaflet light popup ─────────────────────────────── */
.leaflet-popup-content-wrapper {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    color: #111 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18) !important;
}

.leaflet-popup-tip {
    background: #ffffff !important;
}

.leaflet-popup-content {
    font-family: 'Space Grotesk', sans-serif;
    padding: .25rem 0 !important;
    color: #222;
}

.leaflet-popup-content b {
    font-family: 'Space Grotesk', sans-serif;
    font-size: .95rem;
    color: #111;
}

/* ── Homepage Hero ───────────────────────────────────── */
.og-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 4rem 3rem;
    max-width: 100%;
    margin: 0;
    background: var(--og-crimson-grad);
    position: relative;
    overflow: hidden;
}

/* Blue gradient variant for gas subpages */
.og-hero-blue {
    background: linear-gradient(165deg, #0a1628 0%, #0d2847 25%, #10447a 50%, #1565c0 75%, #1976d2 100%);
}

.og-hero-blue .og-hero-pill {
    background: rgba(100, 180, 255, .12);
    border-color: rgba(100, 180, 255, .25);
}

.og-hero-blue .og-btn-red {
    background: #2196F3;
    color: #fff;
    box-shadow: 0 8px 24px rgba(33, 150, 243, .4);
}

.og-hero-blue .og-btn-red:hover {
    background: #1976D2;
    box-shadow: 0 14px 36px rgba(33, 150, 243, .5);
}

/* SodaStream pink-blue gradient variant */
.og-hero-soda {
    background: linear-gradient(165deg, #1a0a2e 0%, #2d1b53 20%, #7b2d8e 45%, #c74b8f 65%, #e86a92 80%, #4a90d9 100%);
}

.og-hero-soda .og-hero-pill {
    background: rgba(255, 130, 180, .15);
    border-color: rgba(255, 130, 180, .3);
}

.og-hero-soda .og-btn-red {
    background: linear-gradient(135deg, #c74b8f, #7b2d8e);
    color: #fff;
    box-shadow: 0 8px 24px rgba(199, 75, 143, .4);
}

.og-hero-soda .og-btn-red:hover {
    background: linear-gradient(135deg, #d65a9e, #8a3d9e);
    box-shadow: 0 14px 36px rgba(199, 75, 143, .5);
}

/* Blog single post — compact crimson hero */
.og-hero-post {
    background: linear-gradient(165deg, #1a0a0a 0%, #2d0f0f 25%, #5c1a1a 50%, #8b2525 75%, #b33030 100%);
    min-height: 280px;
    padding-bottom: 2rem;
}

.og-hero-post .og-hero-pill {
    background: rgba(255, 100, 100, .12);
    border-color: rgba(255, 100, 100, .25);
}

.og-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.og-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(255, 255, 255, .06) 0%, transparent 70%);
    pointer-events: none;
}

.og-hero-watermark {
    position: absolute;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    font-size: clamp(200px, 30vw, 420px);
    color: rgba(255, 255, 255, .05);
    letter-spacing: -.06em;
    line-height: 1;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

.og-hero>*:not(.og-hero-watermark) {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.og-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1.2rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 100px;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
    backdrop-filter: blur(6px);
}

.og-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--og-green);
    box-shadow: 0 0 10px var(--og-green);
    animation: og-pls 2s ease infinite;
}

@keyframes og-pls {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--og-green);
    }

    50% {
        opacity: .5;
        box-shadow: 0 0 22px var(--og-green);
    }
}

.og-h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 7.5vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -.04em;
    max-width: 1000px;
    margin-bottom: 2.5rem;
}

.og-h1 .svc {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: color .25s ease, -webkit-text-stroke .25s ease;
    cursor: pointer;
    line-height: 0.97;
}

.og-h1 .svc:hover {
    color: #FFFFFF;
    -webkit-text-stroke: 2px transparent;
}

.og-h1 .svc.s1 {
    -webkit-text-stroke: 2.5px rgba(255, 255, 255, .9);
}

.og-h1 .svc.s2 {
    -webkit-text-stroke: 2px rgba(255, 255, 255, .7);
}

.og-h1 .svc.s3 {
    -webkit-text-stroke: 2px rgba(255, 255, 255, .55);
}

.og-lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .75);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 3rem;
}

.og-lead strong {
    color: #FFFFFF;
    font-weight: 600;
}

.og-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* Hero buttons invert on red bg */
.og-hero .og-btn-red {
    background: #FFFFFF;
    color: var(--og-red-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.og-hero .og-btn-red:hover {
    background: #FFF5F5;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .3);
}

.og-hero .og-btn-outline {
    background: rgba(255, 255, 255, .14);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, .35);
}

.og-hero .og-btn-outline:hover {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .5);
}

.og-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .18);
    justify-content: center;
}

.og-stat-n {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
}

.og-stat-n em {
    font-style: normal;
    color: #FFCDD2;
}

.og-stat-l {
    font-size: .8rem;
    color: rgba(255, 255, 255, .6);
    margin-top: .25rem;
}

/* ── Subpage hero ─────────────────────────────────────── */
.og-page-hero {
    padding: 8rem 4rem 4rem;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.og-page-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.og-page-hero-icon svg {
    width: 40px;
    height: 40px;
}

.og-page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;
    color: var(--og-text);
    margin-bottom: 1.5rem;
}

.og-page-hero p {
    font-size: 1.1rem;
    color: var(--og-muted);
    line-height: 1.72;
}

/* ── Content prose ───────────────────────────────────── */
.og-prose {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem 7rem;
}

.og-prose h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--og-text);
    margin: 3rem 0 1rem;
    letter-spacing: -.02em;
}

.og-prose h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--og-text);
    margin: 2rem 0 .75rem;
}

.og-prose p {
    font-size: .95rem;
    color: var(--og-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.og-prose ul {
    list-style: none;
    margin-bottom: 1rem;
}

.og-prose ul li {
    font-size: .95rem;
    color: var(--og-muted);
    line-height: 1.7;
    padding: .35rem 0;
    border-bottom: 1px solid var(--og-border);
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.og-prose ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--og-red);
    margin-top: .55rem;
    flex-shrink: 0;
}

/* ── Service grid ───────────────────────────────────── */
.og-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.og-service-card {
    background: #FFFFFF;
    border: 1px solid var(--og-border);
    border-radius: var(--og-radius);
    padding: 2rem;
    transition: all .3s ease;
    position: relative;
    box-shadow: var(--og-shadow-sm);
}

.og-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--og-red), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.og-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--og-shadow-md);
}

.og-service-card:hover::after {
    opacity: 1;
}

.og-service-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.og-service-card-icon svg {
    width: 22px;
    height: 22px;
}

.og-service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--og-text);
    margin-bottom: .5rem;
}

.og-service-card p {
    font-size: .85rem;
    color: var(--og-muted);
    line-height: 1.62;
}

.og-service-card a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--og-red);
    text-decoration: none;
    margin-top: 1rem;
}

.og-service-card a svg {
    width: 14px;
    height: 14px;
    transition: transform .2s;
}

.og-service-card:hover a svg {
    transform: translateX(4px);
}

/* ── Footer ─────────────────────────────────────────── */
.og-footer {
    background: linear-gradient(180deg, #6B1010 0%, #8B1515 100%);
    padding: 5rem 4rem 3rem;
    color: rgba(255, 255, 255, .85);
}

.og-footer-g {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.og-footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: .9rem;
    color: #FFFFFF;
}

.og-footer-brand em {
    font-style: normal;
    color: var(--og-red-light);
}

.og-footer-desc {
    font-size: .85rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.72;
    margin-bottom: 1.25rem;
}

.og-footer-head {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 1.25rem;
}

.og-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .72rem;
}

.og-footer-links a {
    font-size: .86rem;
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
    transition: color .2s;
}

.og-footer-links a:hover {
    color: #FFFFFF;
}

.og-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    max-width: 1440px;
    margin: 0 auto;
}

.og-footer-copy {
    font-size: .78rem;
    color: rgba(255, 255, 255, .25);
}

/* ── Responsive ──────────────────────────────────────── */
/* ── Blog archive cards ──────────────────────────────── */
.og-blog-card {
    background: rgba(255, 255, 255, .03) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 18px !important;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    cursor: pointer;
}

.og-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    border-color: rgba(204, 31, 31, .25) !important;
}

.og-blog-card .wp-block-post-featured-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.og-blog-card .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.og-blog-card:hover .wp-block-post-featured-image img {
    transform: scale(1.06);
}

.og-blog-card .wp-block-post-title a {
    text-decoration: none !important;
    transition: color .2s;
}

.og-blog-card .wp-block-post-title a:hover {
    color: var(--og-red) !important;
}

/* Post grid layout */
.wp-block-post-template.is-layout-grid {
    gap: 2rem !important;
}

/* Pagination styling */
.wp-block-query-pagination {
    gap: 1rem;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    padding: .5rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    transition: all .2s;
}

.wp-block-query-pagination a:hover,
.wp-block-query-pagination .page-numbers:hover {
    color: #fff;
    border-color: var(--og-red);
    background: rgba(204, 31, 31, .1);
}

.wp-block-query-pagination .page-numbers.current {
    background: var(--og-red);
    color: #fff;
    border-color: var(--og-red);
}

/* ── Single post ─────────────────────────────────────── */
.wp-block-post-content {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .78);
}

.wp-block-post-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.wp-block-post-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.wp-block-post-content p {
    margin-bottom: 1.4rem;
}

.wp-block-post-content a {
    color: var(--og-red);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}

.wp-block-post-content a:hover {
    color: var(--og-red-light);
}

.wp-block-post-content ul,
.wp-block-post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

.wp-block-post-content li {
    margin-bottom: .5rem;
}

.wp-block-post-content img {
    border-radius: 14px;
    max-width: 100%;
    height: auto;
}

.wp-block-post-content blockquote {
    border-left: 3px solid var(--og-red);
    padding: .8rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, .03);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: rgba(255, 255, 255, .65);
}

.wp-block-post-featured-image img {
    border-radius: 18px;
    max-width: 100%;
    height: auto;
}

@media(max-width:1100px) {
    .og-nav {
        padding: .9rem 2rem;
    }

    .og-burger {
        display: flex;
    }

    .og-nav-phone {
        display: none;
    }

    .og-nav-menu {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100dvh;
        background: #0a0505;
        flex-direction: column;
        gap: 0;
        padding: 5rem 0 2rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 250;
    }

    .og-nav-menu.og-open {
        display: flex !important;
    }

    .og-nav-menu>li {
        display: block;
        position: static !important;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

    .og-nav-menu>li>a {
        padding: .85rem 1.5rem;
        font-size: 1.05rem;
        border-bottom: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Mobile dropdown accordion — override desktop absolute dropdown */
    .og-sub {
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        min-width: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, .04) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
        box-shadow: none !important;
        z-index: auto !important;
        list-style: none !important;
    }

    .og-sub li {
        display: block !important;
    }

    .og-sub li a {
        padding: .8rem 1.5rem .8rem 2.5rem !important;
        font-size: .95rem !important;
        color: rgba(255, 255, 255, .7) !important;
        border-bottom: 1px solid rgba(255, 255, 255, .03) !important;
        white-space: normal !important;
        display: block !important;
    }

    .og-has-sub:hover>.og-sub {
        /* Disable desktop hover on mobile */
        max-height: 0;
        transform: none !important;
    }

    .og-has-sub.og-sub-open>.og-sub {
        max-height: 500px !important;
    }

    .og-has-sub>a::after {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        border-right: 2px solid rgba(255, 255, 255, .4);
        border-bottom: 2px solid rgba(255, 255, 255, .4);
        transform: rotate(45deg);
        margin-left: .5rem;
        transition: transform .3s;
        vertical-align: middle;
    }

    .og-has-sub.og-sub-open>a::after {
        transform: rotate(-135deg);
    }

    .og-mobile-phone {
        display: block !important;
        border-bottom: none !important;
    }

    .og-bento {
        grid-template-columns: 1fr 1fr !important;
    }

    .og-bc.c7,
    .og-bc.c5,
    .og-bc.c4 {
        grid-column: span 1;
        min-height: auto;
    }

    .og-feats {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .og-footer-g {
        grid-template-columns: 1fr 1fr !important;
        gap: 2.5rem;
    }

    .og-loc-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .og-loc-list {
        max-height: 300px;
    }

    .og-map-wrap {
        height: 400px;
    }

    .og-seo {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .og-page-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media(max-width:768px) {

    .og-section,
    .og-hero,
    .og-page-hero,
    .og-prose,
    .og-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .og-cta {
        flex-direction: column;
        text-align: center;
        margin: 0 1.5rem 4rem;
        padding: 3rem 2rem;
    }

    .og-feats {
        grid-template-columns: 1fr !important;
    }

    .og-seo {
        padding: 2rem;
    }

    .og-bento {
        grid-template-columns: 1fr !important;
    }

    .og-service-grid {
        grid-template-columns: 1fr !important;
    }

    /* Contact page map+form grid */
    .og-contact-grid {
        grid-template-columns: 1fr !important;
    }

    .og-contact-grid .og-map-wrap {
        min-height: 350px !important;
    }

    /* Float button hidden by default on mobile, shown on scroll */
    .og-float {
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
    }

    .og-float.og-float-show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Blog grid: 1 column on mobile */
    .wp-block-post-template.is-layout-grid {
        grid-template-columns: 1fr !important;
    }
}