.public-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.public-layout main {
    flex: 1;
}

.hero-section {
    background:
        radial-gradient(circle at top, rgba(212, 160, 23, 0.15), transparent 22%),
        radial-gradient(circle at top, rgba(27, 81, 129, 0.45), transparent 38%),
        linear-gradient(140deg, #05070d 0%, #0F172A 38%, #102A43 72%, #173B63 100%);
    color: white;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 160, 23, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 160, 23, 0.06) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 72% 60% at 50% 40%, black 24%, transparent 75%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 13, 0.25) 100%);
    pointer-events: none;
}

.hero-content-frame {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
    padding: 3.5rem 2rem 2rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(10,14,24,0.36), rgba(10,14,24,0.12));
    backdrop-filter: blur(8px);
    box-shadow: 0 26px 80px rgba(0,0,0,0.28);
}

.hero-content-frame::before,
.hero-content-frame::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    border-color: rgba(212,160,23,0.55);
    border-style: solid;
}

.hero-content-frame::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.hero-content-frame::after {
    right: -1px;
    bottom: -1px;
    border-width: 0 1px 1px 0;
}

.hero-section h1 {
    font-size: clamp(3rem, 6vw, 5.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-section p.lead {
    font-size: 1.18rem;
    opacity: 0.9;
    max-width: 760px;
    margin-inline: auto;
}

.eyebrow,
.section-label {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.55);
    margin-top: 0.25rem;
}

.marquee-section {
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0.85rem 0;
    overflow: hidden;
    background: rgba(8, 12, 20, 0.92);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.marquee-track span {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.42);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    white-space: nowrap;
    padding: 0 2.5rem;
}

.marquee-track .accent-text {
    color: var(--accent);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.section-header-block {
    text-align: center;
    margin-bottom: 3rem;
}

.service-card {
    background: linear-gradient(180deg, rgba(12,16,28,0.96) 0%, rgba(16,22,38,0.98) 100%);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 16px 38px rgba(0,0,0,.26);
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(249,115,22,0.9));
    opacity: 0.92;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0,0,0,.34);
}

.service-card .icon {
    font-size: 2.5rem;
    color: #9dc2ff;
    margin-bottom: 1rem;
}

.service-card h5,
.service-card h4 {
    color: #f8fbff;
}

.service-meta {
    margin-top: 1rem;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.48);
    font-weight: 700;
}

.feature-section {
    background: linear-gradient(180deg, rgba(7,10,18,0.98) 0%, rgba(10,15,28,0.98) 100%);
    padding: 4rem 0;
}

.cta-section {
    background: linear-gradient(135deg, #102A43 0%, #173B63 60%, #1E4A73 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
    pointer-events: none;
}

.principle-card {
    background: rgba(11,16,32,0.92);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    margin-bottom: 1rem;
    min-height: 180px;
}

.principle-card h5 {
    margin-bottom: 0.5rem;
    color: #f7faff;
}

.principle-card p {
    color: rgba(220,228,240,0.66);
    margin-bottom: 0;
}

.principle-letter {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
}

.proof-panel {
    background: linear-gradient(160deg, rgba(212,160,23,0.14), rgba(16,42,67,0.18));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 14px 32px rgba(0,0,0,0.2);
}

.proof-panel h4,
.proof-panel h5,
.proof-panel h6 {
    color: #f8fbff;
}

.proof-panel p,
.proof-panel .text-muted,
.proof-panel .mb-0 {
    color: rgba(238, 244, 252, 0.82) !important;
}

.card.h-100.border-0.shadow-sm,
.card.border-0.shadow-sm {
    border-radius: 20px !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.26) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    background: linear-gradient(180deg, rgba(12,16,28,0.96) 0%, rgba(16,22,38,0.98) 100%) !important;
}

.card.h-100.border-0.shadow-sm .card-body,
.card.border-0.shadow-sm .card-body {
    padding: 2rem !important;
}

.card .text-muted,
.service-card p,
.content-card p.text-muted {
    color: rgba(220,228,240,0.66) !important;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    background: #111827;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.track-timeline {
    position: relative;
    padding-left: 2rem;
}

.track-timeline .step {
    position: relative;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(255,255,255,0.14);
}

.track-timeline .step.active {
    border-left-color: #4CAF50;
}

.track-timeline .step.current {
    border-left-color: #1565C0;
}

.track-timeline .step::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.24);
}

.track-timeline .step.active::before { background: #4CAF50; }
.track-timeline .step.current::before { background: #1565C0; border: 2px solid #42A5F5; width: 14px; height: 14px; left: -8px; }

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-logo {
        height: 120px;
    }

    .hero-content-frame {
        padding: 2.4rem 1.2rem 1.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }
}
