/* =========================================
   DYNAMIC INSURANCE BROKERS
   DESIGN SYSTEM: ADAPTIVE GLASS
   ========================================= */

:root {
    --primary: #0f172a;
    --primary-light: #334155;
    --accent: #d4af37;
    --accent-glow: rgba(212, 175, 55, 0.25);
    --bg-page: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-hover: rgba(255, 255, 255, 0.9);
    --blur: blur(18px);
    --border: 1px solid rgba(255, 255, 255, 0.65);
    --border-hover: 1px solid rgba(212, 175, 55, 0.45);
    --shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.1);
    --shadow-hover: 0 20px 50px -12px rgba(15, 23, 42, 0.22);
    --font-heading: "Cinzel", serif;
    --font-body: "Inter", "Segoe UI", Tahoma, sans-serif;
    --transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* LeadDesk homepage showcase */
.hero-demo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--accent);
    color: var(--primary);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}
.hero-demo-link:hover { color: #9a771b; }
.workspace-showcase{position:relative;overflow:hidden;color:#fff;background:#071a2f}.workspace-showcase::before{content:"";width:430px;height:430px;position:absolute;right:-180px;top:-250px;border:1px solid rgba(212,175,55,.2);transform:rotate(45deg)}.workspace-showcase-panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(480px,1.15fr);align-items:center;gap:70px}.workspace-showcase-copy h2{max-width:620px;margin:0;color:#fff;font-size:clamp(2.25rem,4vw,4.2rem);line-height:1.04;letter-spacing:-.035em}.workspace-showcase-copy>p:not(.kicker){max-width:600px;margin:24px 0 29px;color:#b7c4d0;line-height:1.75}.workspace-showcase-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px}.workspace-showcase-actions>span{color:#8294a7;font-size:.76rem}.workspace-showcase-actions>span i{margin-right:6px;color:var(--accent)}
.workspace-preview{position:relative;border:1px solid rgba(255,255,255,.14);background:#f5f6f8;box-shadow:0 32px 80px rgba(0,0,0,.35);transform:perspective(1100px) rotateY(-4deg) rotateX(2deg)}.workspace-preview-bar{height:36px;display:flex;align-items:center;gap:6px;padding:0 13px;color:#718092;background:#fff;font-size:.55rem;letter-spacing:.11em}.workspace-preview-bar i{width:7px;height:7px;border-radius:50%;background:#d7dde4}.workspace-preview-bar span{margin-left:auto}.workspace-preview-body{min-height:325px;display:grid;grid-template-columns:94px 1fr}.preview-side{display:grid;align-content:start;gap:13px;padding:32px 15px;background:#0a2037}.preview-side b{height:9px;border-radius:9px;background:rgba(255,255,255,.13)}.preview-side b:first-child{background:rgba(212,175,55,.55)}.preview-main{padding:30px}.preview-greeting{width:56%;height:19px;margin-bottom:25px;background:#153a5d}.preview-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.preview-metrics i{height:58px;border:1px solid #dde3e9;background:#fff}.preview-chart{height:155px;display:flex;align-items:end;gap:12px;margin-top:18px;padding:22px;background:#fff}.preview-chart span{flex:1;background:linear-gradient(#e2c775,#cfa837)}.preview-float{position:absolute;right:-22px;bottom:28px;display:grid;grid-template-columns:35px 1fr;gap:2px 10px;padding:15px 18px;color:#10263d;background:#fff;box-shadow:0 15px 38px rgba(0,0,0,.18)}.preview-float i{grid-row:1/3;align-self:center;color:#b18b29;font-size:1.2rem}.preview-float strong{font-size:.77rem}.preview-float span{color:#7b8794;font-size:.62rem}
@media(max-width:950px){.workspace-showcase-panel{grid-template-columns:1fr;gap:50px}.workspace-preview{max-width:720px;width:calc(100% - 20px);transform:none}}
@media(max-width:600px){.workspace-preview-body{min-height:245px;grid-template-columns:63px 1fr}.preview-main{padding:18px}.preview-chart{height:120px;padding:15px}.preview-float{right:-10px;bottom:17px}}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background-color: var(--bg-page);
    color: var(--primary-light);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    /* Context for z-index */
    /* Removed confusing radial gradient that might be masking things */
}

/* Ensure Content sits ABOVE motion layer (z-index 0) */
.navbar,
main,
footer {
    position: relative;
    z-index: 10;
}

body.menu-open {
    overflow: hidden;
}

#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
}

h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

p {
    margin: 0 0 1.3rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--primary);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

.container {
    width: min(1280px, 95%);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 110px 0;
}

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

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

.btn-gold,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 100px;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent), #b8860b);
    color: #fff;
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-gold:hover,
.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

.navbar {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1280px, 95%);
    z-index: 300;
    background: rgba(255, 255, 255, 0.83);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* --- LOGO REDESIGN: INLINE SVG --- */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--primary);
    text-decoration: none;
    perspective: 1000px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Base State */
.diamond-group {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: 50% 50%;
}

/* Hover Animation: 3D Flip & Expand */
.logo:hover .logo-icon {
    transform: rotateY(180deg);
}

.logo:hover .d1-group {
    transform: translate(-5px, -5px) scale(1.05);
    /* Float Up-Left */
}

.logo:hover .d2-group {
    transform: translate(5px, 5px) scale(1.05);
    /* Float Down-Right */
}

/* Center Piece Pulse */
.center-piece {
    opacity: 1;
    transition: fill 0.4s ease;
}

.logo:hover .center-piece {
    fill: #D4AF37;
    /* Turn Gold on Hover! */
}

/* Text Styling */
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text h1 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    line-height: 1;
    color: var(--primary);
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.logo-text .brand-name {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    line-height: 1;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
}

.logo-text .tagline {
    font-family: 'Great Vibes', cursive;
    /* Optional: Or just Serif Italic */
    font-family: var(--font-heading);
    text-transform: none;
    color: var(--accent);
    /* Gold */
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 2px;
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.8vw, 22px);
    white-space: nowrap;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    opacity: 0.85;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    opacity: 1;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger .line1,
.burger .line2,
.burger .line3 {
    width: 20px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.burger.is-active .line1 {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-active .line2 {
    opacity: 0;
}

.burger.is-active .line3 {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 95px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-page), transparent 45%);
    z-index: -1;
}

.hero-shapes .shape {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.28);
    opacity: 0.25;
    pointer-events: none;
}

.shape-1 {
    width: 220px;
    height: 220px;
    transform: rotate(45deg);
    right: 6%;
    top: 18%;
}

.shape-2 {
    width: 120px;
    height: 120px;
    transform: rotate(45deg);
    left: 8%;
    bottom: 20%;
}

.shape-3 {
    width: 24px;
    height: 24px;
    transform: rotate(45deg);
    background: rgba(212, 175, 55, 0.35);
    right: 33%;
    bottom: 18%;
    border: none;
}

.hero-content {
    max-width: 820px;
}

.hero-content p {
    font-size: 1.14rem;
    max-width: 660px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 8px;
    margin: 0 auto 20px;
}

.services-grid,
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.services-grid {
    margin-top: 56px;
}

/* --- VISUAL HERO UPDATE --- */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 40px;
}

.hero-text {
    flex: 1;
    max-width: 650px;
}

.hero-headline {
    display: grid;
    align-items: center;
}

.hero-headline-message {
    grid-area: 1 / 1;
    display: block;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
}

.hero-headline-message.is-active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.hero-headline-statement {
    font-size: clamp(1.65rem, 2.25vw, 2rem);
    line-height: 1.25;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 450px;
}

.cutout-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    /* Magazine Pop */
    transform: rotate(-2deg);
    transition: transform 0.6s ease;
    border-radius: 20px;
    /* Slight round since Unsplash images are rect */
}

.cutout-img:hover {
    transform: rotate(0deg) scale(1.02);
}

@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        display: none;
        /* Hide illustrative image on mobile to save space */
    }

    .hero-text {
        margin: 0 auto;
    }
}

/* --- VISUAL SERVICE CARDS --- */
.service-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.5s ease;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image .glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6));
}

/* Reveal Image on Hover */
.service-card:hover .card-image {
    opacity: 1;
}

.service-card .icon-box,
.service-card h3,
.service-card p,
.service-card .read-more {
    position: relative;
    z-index: 2;
    /* Sit on top of image */
}

/* --- MASONRY GRID ABOUT SECTION --- */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-masonry {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 200px 200px;
    gap: 20px;
    position: relative;
}

.masonry-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.masonry-item:hover img {
    transform: scale(1.1);
}

.item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    /* Tall image */
    height: 100%;
}

.item-2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    transform: translateY(30px);
    /* Offset style */
}

.floating-diamond-decor {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border: 4px solid var(--accent);
    transform: rotate(45deg);
    z-index: -1;
}

@media (max-width: 900px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-masonry {
        max-width: 500px;
        margin: 0 auto;
    }
}

.service-card,
.app-card,
.kpi-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.service-card,
.app-card {
    padding: 34px;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover,
.app-card:hover {
    background: var(--bg-glass-hover);
    border: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.icon-box {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent);
    font-size: 1.4rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--accent);
    color: #fff;
}

.read-more {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
}

.read-more:hover {
    color: var(--accent);
    gap: 14px;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img img {
    display: block;
    width: 100%;
    height: auto;
}

.experience-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    background: var(--accent);
    color: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    text-align: center;
}

.experience-badge .years {
    display: block;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.74rem;
    text-transform: uppercase;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.features-list i {
    color: var(--accent);
    margin-top: 5px;
}

.stats {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
}

.stat-item h3 {
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-item p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.84rem;
}

.cta-section {
    background: linear-gradient(rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.9)),
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80") center / cover;
    color: #fff;
}

.cta-section h2 {
    color: #fff;
}

.contact-form {
    max-width: 560px;
    margin: 24px auto 0;
    display: flex;
    gap: 10px;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--primary);
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.14);
}

.subpage-main {
    padding-top: 96px;
}

.subpage-hero {
    padding: 120px 0 72px;
    text-align: center;
}

.botshelo-hero {
    text-align: left;
}

.botshelo-hero-grid,
.botshelo-layout,
.botshelo-info-grid {
    display: grid;
    gap: 28px;
}

.botshelo-hero-grid,
.botshelo-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: start;
}

.botshelo-info-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.botshelo-hero-card {
    align-self: center;
}

.botshelo-hero-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
}

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

.kicker {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.82rem;
    font-weight: 700;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    color: var(--primary);
}

.field-wide {
    grid-column: 1 / -1;
}

.stepper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.step-pill {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.07);
    color: var(--primary-light);
    font-size: 0.86rem;
}

.step-pill.is-active {
    background: var(--accent);
    color: #fff;
}

.wizard-step {
    display: none;
}

.wizard-step.is-active {
    display: block;
}

.wizard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.review-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    padding: 20px;
}

.success-state {
    text-align: center;
    padding: 24px 12px;
}

.success-state i {
    font-size: 2rem;
    color: #16a34a;
}

.quote-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.botshelo-results {
    display: grid;
    gap: 18px;
}

.estimate-note {
    margin-top: -8px;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.included-cover-card h3 {
    margin-bottom: 12px;
}

.included-cover-list {
    margin-bottom: 0;
}

.included-cover-list li.is-inactive,
.benefit-item.is-inactive {
    opacity: 0.45;
}

.included-cover-list li.is-inactive {
    background: rgba(148, 163, 184, 0.15);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.benefit-item {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 14px;
    padding: 14px;
}

.benefit-item span {
    display: block;
    font-size: 0.82rem;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.benefit-item strong {
    color: var(--primary);
    font-size: 1rem;
}

.is-hidden {
    display: none !important;
}

.mini-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.kpi-card {
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.kpi-card h3 {
    margin: 10px 0 0;
}

.kpi-card p {
    margin: 0;
    color: var(--primary-light);
}

.table-wrap {
    overflow-x: auto;
}

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

.data-table th,
.data-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
    text-align: left;
    font-size: 0.9rem;
}

.data-table th {
    color: var(--primary);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.1);
}

.tag-ok {
    background: rgba(22, 163, 74, 0.2);
    color: #166534;
}

.tag-alert {
    background: rgba(202, 138, 4, 0.22);
    color: #92400e;
}

.doc-list {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.doc-list li {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.75);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.timeline {
    display: grid;
    gap: 14px;
}

.timeline li {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 12px;
    align-items: start;
}

.timeline .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    margin-top: 7px;
    background: rgba(15, 23, 42, 0.2);
}

.timeline li.is-done .dot {
    background: #16a34a;
}

.timeline li.is-current .dot {
    background: var(--accent);
}

.timeline h4 {
    margin: 0 0 4px;
    font-family: var(--font-body);
}

.timeline p {
    margin: 0;
}

footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.78);
    padding: 84px 0 0;
    margin-top: 84px;
}

footer h3,
footer h4 {
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    padding-bottom: 30px;
}

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

.footer-col ul li a:hover {
    color: var(--accent);
}

.socials {
    margin-top: 16px;
    display: flex;
    gap: 12px;
}

.socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.socials a:hover {
    background: var(--accent);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px 0;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeInUp 0.9s ease both;
}

.delay-100 {
    animation-delay: 0.1s;
    transition-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
    transition-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* The public launch navigation has more destinations than the early draft.
   Preserve the original floating pill while keeping every item inside it on
   standard laptop screens. */
@media (min-width: 1181px) and (max-width: 1380px) {
    .navbar .nav-container {
        gap: 10px;
        padding-inline: 16px;
    }

    .navbar .logo {
        gap: 10px;
    }

    .navbar .logo-icon {
        width: 52px;
        height: 52px;
    }

    .navbar .logo-text h1,
    .navbar .logo-text .brand-name {
        font-size: 1.05rem;
    }

    .navbar .nav-links {
        gap: 9px;
    }

    .navbar .nav-links a {
        font-size: .78rem;
    }

    .navbar .nav-links .btn-gold {
        padding: 11px 17px;
    }
}

@media (max-width: 1180px) {
    .burger {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(15, 23, 42, 0.1);
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 20px 38px rgba(15, 23, 42, 0.14);
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 88px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    .hero {
        padding-top: 92px;
    }

    .hero-content h1 {
        font-size: 2.45rem;
    }

    .hero-headline .hero-headline-statement {
        font-size: clamp(1.4rem, 5vw, 1.9rem);
    }

    .contact-form {
        flex-direction: column;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .field-wide {
        grid-column: auto;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .botshelo-hero-grid,
    .botshelo-layout {
        grid-template-columns: 1fr;
    }

    .quote-entry-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-card,
    .app-card {
        padding: 24px;
    }

    .subpage-main {
        padding-top: 88px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================
   EDITORIAL NAVY THEME — CLAIMS, PROFILE & TOOLS
   ========================================= */
.editorial-page {
    --ink: #07162f;
    --ink-soft: #0c2347;
    --paper: #f3f6fa;
    --gold: #d6a92f;
    background: var(--paper);
}

.editorial-page .editorial-main { padding-top: 0; }
.editorial-page .editorial-nav {
    top: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 18px 50px rgba(3, 14, 35, 0.18);
}
.editorial-page .logo { gap: 12px; }
.brand-crest {
    width: 46px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    color: var(--gold, var(--accent));
    font: 700 1.25rem/1 var(--font-heading);
    border: 2px solid currentColor;
    border-radius: 48% 48% 55% 55% / 28% 28% 72% 72%;
    flex: 0 0 auto;
}
.editorial-page .logo-text strong {
    font: 700 1.22rem/1 var(--font-heading);
    letter-spacing: 1px;
    color: var(--ink);
}
.editorial-page .logo-text .brand-name {
    font: 700 1.22rem/1 var(--font-heading);
    letter-spacing: 1px;
    color: var(--ink);
}
.editorial-page .logo-text > span { margin-top: 5px; font-size: .62rem; letter-spacing: 2.2px; }
.editorial-page .nav-links a { font-size: .82rem; font-weight: 600; }
.editorial-page .btn-gold.active { color: #fff; opacity: 1; }

.claims-hero,
.tools-hero {
    color: #fff;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 25%, rgba(37, 73, 124, .52), transparent 30%),
        linear-gradient(120deg, #07142b 0%, #091a38 55%, #050f22 100%);
    padding: 155px 0 86px;
}
.claims-hero::before,
.tools-hero::before,
.profile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(115deg, transparent 0 74px, rgba(255,255,255,.025) 75px, transparent 76px 150px);
}
.claims-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr .55fr; gap: 38px; align-items: center; }
.claims-hero h1,
.tools-hero h1,
.profile-hero h1 { color: #fff; font-size: clamp(2.6rem, 5vw, 4.7rem); letter-spacing: -.035em; }
.claims-hero-copy > p:last-of-type { max-width: 650px; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.gold-rule { width: 56px; height: 4px; background: var(--gold); border-radius: 999px; margin: 20px 0; }
.btn-outline-light {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 12px 22px; min-height: 46px; border: 1px solid rgba(255,255,255,.7);
    border-radius: 8px; color: #fff; font-size: .82rem; font-weight: 700; text-transform: uppercase;
}
.btn-outline-light:hover { background: #fff; color: var(--ink); }

.claims-emblem { min-height: 320px; display: grid; place-items: center; position: relative; perspective: 900px; }
.emblem-orbit { position: absolute; width: 300px; height: 210px; border-radius: 50%; border: 1px solid rgba(214,169,47,.23); transform: rotate(-12deg); }
.emblem-shield {
    width: 190px; height: 225px; display: grid; place-items: center; color: var(--gold); font-size: 4.3rem;
    background: linear-gradient(145deg, #17335e, #07152e 72%); border: 4px solid #62738d;
    clip-path: polygon(50% 0, 95% 18%, 85% 75%, 50% 100%, 15% 75%, 5% 18%);
    box-shadow: inset 0 0 35px rgba(255,255,255,.12); transform: rotateY(-10deg);
}
.emblem-shadow { position: absolute; bottom: 20px; width: 240px; height: 30px; background: rgba(0,0,0,.55); border-radius: 50%; filter: blur(15px); }
.hero-trust-list { display: grid; gap: 28px; }
.hero-trust-list li { display: grid; grid-template-columns: 35px 1fr; gap: 12px; align-items: center; color: rgba(255,255,255,.74); font-size: .78rem; }
.hero-trust-list i { color: var(--gold); font-size: 1.55rem; }
.hero-trust-list strong { color: #fff; display: block; font-size: .9rem; }

.claims-promise-wrap { position: relative; z-index: 30; margin: -30px 0 0; }
.claims-promises {
    display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 14px;
    padding: 24px 28px; box-shadow: 0 18px 50px rgba(6,22,48,.12);
}
.claims-promises article { display: grid; grid-template-columns: 38px 1fr; gap: 13px; padding: 5px 24px; border-right: 1px solid #dce2ea; }
.claims-promises article:first-child { padding-left: 0; }
.claims-promises article:last-child { border: 0; padding-right: 0; }
.claims-promises i { color: var(--gold); font-size: 1.65rem; }
.claims-promises h2 { font: 700 .9rem/1.25 var(--font-body); margin: 0 0 3px; }
.claims-promises p { font-size: .76rem; line-height: 1.45; margin: 0; color: #64748b; }

.claims-workspace { padding-top: 72px; }
.claims-workspace-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; }
.editorial-card {
    background: #fff; border: 1px solid rgba(8,30,65,.07); border-radius: 15px;
    padding: 30px; box-shadow: 0 15px 42px rgba(8,29,60,.08);
}
.editorial-card h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.card-heading, .profile-overview-copy { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.heading-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; background: var(--ink); color: var(--gold); border-radius: 50%; font-size: 1.15rem; }
.eyebrow { color: #a67910; text-transform: uppercase; letter-spacing: 1.5px; font-size: .7rem; font-weight: 800; margin: 0 0 6px; }
.card-heading h2, .profile-overview-copy h2 { margin: 0; }
.claim-prep-card .field { font-size: .82rem; }
.claim-prep-card input, .claim-prep-card select, .claim-prep-card textarea, .calculator-card input { border-radius: 7px; background: #fff; }
.privacy-note { text-align: center; color: #718096; font-size: .73rem; margin: 8px 0 0; }
.tool-result { margin-top: 22px; padding: 22px; background: #f5f8fc; border-left: 4px solid var(--gold); border-radius: 9px; }
.tool-result h3 { font-size: 1.1rem; }
.tool-result ul { list-style: none; display: grid; gap: 8px; }
.tool-result li::before { content: "✓"; color: var(--gold); font-weight: 900; margin-right: 9px; }
.claims-side-stack { display: grid; gap: 22px; }
.numbered-process { display: grid; gap: 16px; margin-top: 24px; }
.numbered-process li { display: grid; grid-template-columns: 34px 1fr; gap: 15px; position: relative; }
.numbered-process li > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 800; font-size: .75rem; }
.numbered-process h3 { font: 700 .93rem/1.25 var(--font-body); margin: 0 0 3px; }
.numbered-process p { margin: 0; font-size: .82rem; color: #64748b; }
.track-card { background: linear-gradient(135deg, var(--ink), #0d2852); color: #fff; padding: 28px; border-radius: 15px; box-shadow: 0 15px 35px rgba(7,22,47,.2); }
.track-card h2 { color: #fff; font-size: 1.55rem; }
.track-card > p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.track-card .btn-gold { border-radius: 7px; margin-right: 14px; }
.text-link-light { display: inline-flex; gap: 7px; margin-top: 16px; color: rgba(255,255,255,.85); font-size: .84rem; }

.profile-hero {
    position: relative; overflow: hidden; padding: 165px 0 92px; color: #fff;
    background: linear-gradient(90deg, rgba(5,19,42,.98) 0%, rgba(7,27,57,.88) 54%, rgba(7,27,57,.58)),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=82") center 42% / cover;
}
.profile-hero .container { position: relative; z-index: 2; }
.profile-hero p:last-child { max-width: 670px; color: rgba(255,255,255,.82); font-size: 1.04rem; }
.profile-content { background: linear-gradient(#f7f9fc, #eef2f7); }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.profile-wide { grid-column: 1 / -1; }
.profile-overview { margin-top: -78px; position: relative; z-index: 20; }
.profile-overview-copy { align-items: center; }
.profile-overview-copy p:last-child { max-width: 900px; margin-bottom: 0; }
.profile-kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #e0e6ee; padding-top: 24px; }
.profile-kpis div { text-align: center; padding: 0 20px; border-right: 1px solid #dbe2ea; }
.profile-kpis div:last-child { border: 0; }
.profile-kpis strong { display: block; font: 600 2rem/1 var(--font-heading); color: var(--ink); }
.profile-kpis span { display: block; margin-top: 8px; color: #64748b; font-size: .74rem; text-transform: uppercase; letter-spacing: .6px; }
.feature-quote { font-family: var(--font-heading); color: var(--ink); font-size: 1.15rem; max-width: 32ch; }
.clean-check-list, .icon-list { display: grid; gap: 11px; }
.clean-check-list li::before { content: "✓"; width: 20px; height: 20px; display: inline-grid; place-items: center; background: var(--gold); color: #fff; border-radius: 50%; font-size: .65rem; margin-right: 9px; }
.values-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; }
.values-row div { display: grid; place-items: center; gap: 12px; padding: 18px; border-right: 1px solid #dbe2ea; color: var(--ink); text-align: center; font-weight: 600; }
.values-row div:last-child { border: 0; }
.values-row i { color: var(--gold); font-size: 2rem; }
.icon-list li { display: flex; gap: 10px; font-size: .87rem; }
.icon-list i { color: var(--ink); margin-top: 5px; }
.horizontal-process { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; position: relative; }
.horizontal-process::before { content: ""; position: absolute; left: 12%; right: 12%; top: 18px; border-top: 1px solid #ccd5e0; }
.horizontal-process li { position: relative; text-align: center; padding: 0 18px; }
.horizontal-process li > span { width: 36px; height: 36px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 50%; margin: 0 auto 18px; font-weight: 700; font-size: .72rem; }
.horizontal-process i { color: var(--gold); font-size: 1.7rem; }
.horizontal-process h3 { font-size: 1rem; margin: 10px 0 5px; }
.horizontal-process p { font-size: .78rem; line-height: 1.5; margin: 0; color: #64748b; }
.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.two-col-list span { font-size: .84rem; padding-left: 17px; position: relative; }
.two-col-list span::before { content: ""; position: absolute; width: 6px; height: 6px; left: 0; top: .65em; background: var(--gold); transform: rotate(45deg); }
.fine-print { margin: 20px 0 0; font-size: .72rem; color: #718096; }
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 24px; }
.office-grid > div { border-left: 2px solid #e1e7ef; padding-left: 18px; }
.office-grid h3 { font: 700 .85rem/1.4 var(--font-body); text-transform: uppercase; }
.office-grid h3 i { color: var(--gold); margin-right: 6px; }
.office-grid p, .office-grid a { display: block; font-size: .76rem; line-height: 1.55; margin-bottom: 8px; }
.office-grid a { color: var(--ink); font-weight: 600; }

.tools-hero { padding-bottom: 95px; }
.tools-hero-grid { display: grid; grid-template-columns: 1fr .45fr; gap: 60px; align-items: center; }
.tools-hero-grid > div:first-child { position: relative; z-index: 2; }
.tools-hero p:not(.kicker) { max-width: 710px; color: rgba(255,255,255,.8); }
.tools-hero h1 span { display: block; }
.tools-lede span { display: block; }
.risk-dial { width: 240px; height: 240px; border: 1px solid rgba(214,169,47,.4); border-radius: 50%; display: grid; place-items: center; align-content: center; justify-self: center; box-shadow: 0 0 0 25px rgba(255,255,255,.025), inset 0 0 50px rgba(214,169,47,.08); }
.risk-dial span { color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 2px; font-size: .65rem; }
.risk-dial strong { color: #fff; font: 700 2.4rem/1.2 var(--font-heading); }
.risk-dial i { color: var(--gold); font-size: 2rem; margin-top: 8px; }
.tools-section { background: #eef3f8; }
.tools-layout { display: grid; grid-template-columns: 1.05fr .75fr; gap: 28px; align-items: stretch; }
.calculator-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.range-value { float: right; color: var(--gold); }
input[type="range"] { accent-color: var(--gold); padding: 6px 0; background: transparent; }
.risk-result-card { background: linear-gradient(155deg, var(--ink), #102d59); color: #fff; border-radius: 15px; padding: 34px; box-shadow: 0 20px 50px rgba(7,22,47,.2); }
.risk-result-card h2, .risk-result-card h3 { color: #fff; }
.result-placeholder { min-height: 360px; display: grid; place-items: center; align-content: center; text-align: center; }
.result-placeholder > i { color: var(--gold); font-size: 3.5rem; margin-bottom: 20px; }
.result-placeholder p { color: rgba(255,255,255,.65); }
.risk-score-ring { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; margin: 24px auto; background: conic-gradient(var(--risk-color) var(--risk-fill), rgba(255,255,255,.1) 0); position: relative; }
.risk-score-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--ink); }
.risk-score-ring strong { position: relative; z-index: 2; color: #fff; font: 700 2.15rem/1 var(--font-heading); text-align: center; }
.risk-score-ring small { display: block; font: 500 .62rem/1.4 var(--font-body); color: rgba(255,255,255,.6); text-transform: uppercase; }
.result-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.result-metrics div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); padding: 15px; border-radius: 9px; }
.result-metrics span { display: block; color: rgba(255,255,255,.6); font-size: .68rem; text-transform: uppercase; }
.result-metrics strong { color: #fff; font-size: 1rem; }
.risk-guidance { color: rgba(255,255,255,.75); font-size: .85rem; }
.tool-cross-sell { padding: 0 0 90px; background: #eef3f8; }
.cross-sell-card { padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 30px; background: #fff; border-radius: 15px; box-shadow: 0 15px 38px rgba(7,22,47,.08); }
.cross-sell-card h2 { margin-bottom: 8px; }
.cross-sell-card p:last-child { margin-bottom: 0; }
.tool-disclaimer { background: #e3eaf2; padding: 22px 0; }
.tool-disclaimer .container { display: flex; gap: 12px; align-items: flex-start; }
.tool-disclaimer i { color: var(--gold); margin-top: 5px; }
.tool-disclaimer p { margin: 0; font-size: .78rem; }

.cover-gap-panel { background: linear-gradient(135deg, var(--primary), #17335e); color: #fff; padding: 20px; border-radius: 14px; }
.cover-gap-panel > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.cover-gap-panel span { font-size: .76rem; text-transform: uppercase; letter-spacing: .7px; color: rgba(255,255,255,.65); }
.cover-gap-panel strong { color: #fff; font-size: 1.25rem; }
.cover-gap-panel p { color: rgba(255,255,255,.78); font-size: .8rem; margin: 10px 0; }
.cover-meter { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.12); }
.cover-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #f7d77e); transition: width .45s ease; }
.cover-gap-panel .estimate-note { margin-bottom: 0; color: #fff; }

.home-tools { background: linear-gradient(135deg, #07162f, #0d2b55); color: #fff; position: relative; overflow: hidden; }
.home-tools::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(212,175,55,.15), transparent 32%); }
.home-tools-panel { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.home-tools h2 { color: #fff; }
.home-tools-intro > p:not(.kicker) { color: rgba(255,255,255,.72); }
.home-tool-links { display: grid; gap: 14px; }
.home-tool-links > a { display: grid; grid-template-columns: 52px 1fr 24px; gap: 15px; align-items: center; padding: 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(255,255,255,.07); color: #fff; }
.home-tool-links > a:hover { transform: translateX(5px); border-color: rgba(212,175,55,.55); background: rgba(255,255,255,.11); }
.home-tool-links > a > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: #fff; font-size: 1.2rem; }
.home-tool-links strong, .home-tool-links small { display: block; }
.home-tool-links small { color: rgba(255,255,255,.62); margin-top: 3px; line-height: 1.4; }

.editorial-footer { margin-top: 0; background: linear-gradient(135deg, #07162f, #0c2347); }
.footer-brand { display: inline-flex; gap: 12px; align-items: center; color: #fff; margin-bottom: 14px; }
.footer-brand strong { display: block; font: 700 1.3rem var(--font-heading); }
.footer-brand small { display: block; letter-spacing: 2px; font-size: .58rem; }
.footer-brand .brand-crest { width: 42px; height: 48px; }
.footer-brand .logo-icon { width: 48px; height: 48px; flex: 0 0 auto; }
.footer-brand .footer-logo-copy { display: flex; flex-direction: column; }
.footer-brand .footer-logo-copy strong { line-height: 1; }
.footer-brand .footer-logo-copy small { margin-top: 5px; }

@media (max-width: 1020px) {
    .claims-hero-grid { grid-template-columns: 1fr .8fr; }
    .hero-trust-list { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
    .claims-promises { grid-template-columns: 1fr 1fr; }
    .claims-promises article:nth-child(2) { border-right: 0; }
    .claims-promises article { padding: 12px; }
    .profile-kpis, .office-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .profile-kpis div:nth-child(2) { border-right: 0; }
}

@media (max-width: 760px) {
    .editorial-page,
    .editorial-page main,
    .tools-hero,
    .claims-hero { width: 100%; max-width: 100vw; overflow-x: hidden; }
    .tools-hero .container,
    .claims-hero .container { width: 100%; padding-left: 30px; padding-right: 30px; }
    .tools-hero-grid,
    .tools-hero-grid > *,
    .claims-hero-grid,
    .claims-hero-grid > * { min-width: 0; max-width: 100%; }
    .tools-hero-grid > div:first-child,
    .claims-hero-copy { width: 100%; max-width: calc(100vw - 60px); }
    .tools-hero h1,
    .claims-hero h1 { width: 100%; max-width: calc(100vw - 60px); font-size: clamp(1.9rem, 8.5vw, 2.4rem); white-space: normal !important; overflow-wrap: anywhere; }
    .tools-hero p,
    .claims-hero p { width: 100%; max-width: calc(100vw - 60px) !important; white-space: normal !important; overflow-wrap: anywhere; }
    .editorial-page .editorial-nav { width: calc(100% - 24px); top: 10px; border-radius: 18px; }
    .editorial-page .nav-container { min-height: 66px; padding: 0 10px; }
    .editorial-page .editorial-nav .nav-container { width: 100%; max-width: 100%; }
    .brand-crest { width: 36px; height: 42px; }
    .editorial-page .logo-text strong { font-size: .96rem; }
    .editorial-page .logo-text .brand-name { font-size: .96rem; }
    .editorial-page .logo-text > span { font-size: .5rem; letter-spacing: 1.5px; }
    .claims-hero, .tools-hero { padding: 125px 0 74px; }
    .claims-hero-grid, .claims-workspace-grid, .tools-hero-grid, .tools-layout, .profile-grid { grid-template-columns: 1fr; }
    .claims-hero-copy { text-align: left; }
    .claims-emblem { min-height: 235px; }
    .emblem-shield { width: 135px; height: 165px; font-size: 3rem; }
    .emblem-orbit { width: 210px; height: 150px; }
    .hero-trust-list { grid-template-columns: 1fr; }
    .claims-promises { grid-template-columns: 1fr; }
    .claims-promises article { border-right: 0; border-bottom: 1px solid #dce2ea; padding: 14px 0; }
    .claims-promises article:last-child { border: 0; }
    .profile-hero { padding: 135px 0 82px; }
    .profile-wide { grid-column: auto; }
    .profile-overview { margin-top: -45px; }
    .profile-kpis, .values-row, .horizontal-process, .office-grid { grid-template-columns: 1fr; }
    .profile-kpis div, .values-row div { border-right: 0; border-bottom: 1px solid #dbe2ea; padding: 17px 0; }
    .horizontal-process::before { display: none; }
    .horizontal-process li { text-align: left; display: grid; grid-template-columns: 42px 34px 1fr; gap: 10px; align-items: center; padding: 10px 0; }
    .horizontal-process li > span { margin: 0; }
    .horizontal-process h3 { margin: 0; }
    .horizontal-process p { grid-column: 3; }
    .calculator-form, .result-metrics { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .risk-dial { width: 190px; height: 190px; }
    .cross-sell-card { flex-direction: column; align-items: flex-start; padding: 28px; }
    .home-tools-panel { grid-template-columns: 1fr; gap: 35px; }
    .home-tool-links > a { grid-template-columns: 44px 1fr; }
    .home-tool-links > a > i { display: none; }
    .editorial-card { padding: 24px; }
}

/* =========================================
   COMPANY PROFILE - EDITORIAL BROCHURE
   ========================================= */
.brochure-page {
    --profile-navy: #071a36;
    --profile-blue: #0d315e;
    --profile-gold: #e1b823;
    --profile-paper: #f5f3ed;
    --profile-line: #d9d7cf;
    background: var(--profile-paper);
}

.brochure-page .editorial-nav {
    width: min(1240px, calc(100% - 48px));
    border-radius: 10px;
    background: rgba(255,255,255,.97);
}

.brochure-page .nav-container { width: 100%; max-width: none; }
.brochure-page .btn-gold.active { color: #fff; }

.brochure-hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(112deg, rgba(4,20,44,.99) 0 48%, rgba(6,25,53,.82) 70%, rgba(6,25,53,.45)),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=84") center / cover;
}

.brochure-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0 66%, rgba(225,184,35,.08) 66% 66.15%, transparent 66.15%);
}

.brochure-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 110px;
    padding-bottom: 80px;
}

.brochure-label,
.brochure-kicker {
    color: var(--profile-gold);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.brochure-label { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.brochure-label::before { content: ""; width: 42px; height: 3px; background: var(--profile-gold); }
.brochure-label span { color: rgba(255,255,255,.5); }
.brochure-hero h1 { max-width: 760px; color: #fff; font-size: clamp(3.1rem, 5.8vw, 6rem); letter-spacing: -.055em; line-height: .98; }
.brochure-hero h1 em { display: block; color: var(--profile-gold); font-style: normal; }
.brochure-lede { max-width: 620px; color: rgba(255,255,255,.76); font-size: 1.04rem; }
.brochure-hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.brochure-hero .btn-gold { border-radius: 3px; box-shadow: none; }
.brochure-text-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: .77rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.brochure-text-link:hover i { transform: translateX(5px); }

.brochure-cover-art { height: 480px; position: relative; }
.building-slice {
    position: absolute;
    inset: 2% 9% 0 18%;
    background: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1000&q=88") 62% center / cover;
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%, 0 26%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
    filter: saturate(.72) contrast(1.08);
}
.gold-plane, .navy-plane { position: absolute; display: block; }
.plane-one { width: 250px; height: 76px; right: -8%; top: 18%; background: var(--profile-gold); clip-path: polygon(18% 0,100% 0,82% 100%,0 100%); transform: rotate(-12deg); }
.plane-two { width: 150px; height: 150px; right: 3%; bottom: -5%; background: #f3cc2f; clip-path: polygon(100% 0,100% 100%,0 100%); }
.navy-plane { width: 390px; height: 120px; left: -5%; bottom: 10%; background: rgba(13,49,94,.96); clip-path: polygon(0 36%,83% 0,100% 64%,18% 100%); }
.anniversary-seal { position: absolute; left: 2%; bottom: 2%; width: 112px; height: 112px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: grid; place-content: center; text-align: center; background: rgba(5,22,47,.74); backdrop-filter: blur(6px); }
.anniversary-seal strong { color: var(--profile-gold); font: 600 2rem/1 var(--font-heading); }
.anniversary-seal span { margin-top: 7px; color: rgba(255,255,255,.7); font-size: .55rem; text-transform: uppercase; letter-spacing: .12em; line-height: 1.4; }

.profile-stat-rail { position: relative; z-index: 20; margin-top: -44px; }
.profile-stat-rail .container { display: grid; grid-template-columns: repeat(4,1fr); padding: 0; background: #fff; box-shadow: 0 20px 60px rgba(5,22,47,.16); }
.profile-stat-rail div { min-height: 116px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-content: center; align-items: center; padding: 22px 30px; border-right: 1px solid #e3e1da; }
.profile-stat-rail div:last-child { border: 0; }
.profile-stat-rail strong { color: var(--profile-navy); font: 600 2.25rem/1 var(--font-heading); }
.profile-stat-rail span { color: #667085; font-size: .7rem; line-height: 1.45; text-transform: uppercase; letter-spacing: .06em; }

.brochure-section { padding: 90px 0; }
.brochure-section h2, .profile-contact-section h2 { color: var(--profile-navy); font-size: clamp(2rem,3.5vw,3.7rem); letter-spacing: -.035em; }
.brochure-about-grid { display: grid; grid-template-columns: .34fr 1fr; gap: 80px; align-items: start; }
.profile-index { position: relative; padding: 34px; background: var(--profile-navy); color: #fff; overflow: hidden; }
.profile-index::after { content: ""; position: absolute; right: -60px; bottom: -55px; width: 150px; height: 150px; background: var(--profile-gold); transform: rotate(45deg); }
.profile-index h2 { color: #fff; font-size: 1.75rem; }
.profile-index ol { display: grid; margin-top: 30px; }
.profile-index li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.profile-index li span { color: var(--profile-gold); font-size: .64rem; }
.profile-index-note { margin: 34px 0 0; max-width: 23ch; color: rgba(255,255,255,.55); font-size: .7rem; }
.section-heading-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--profile-line); }
.section-heading-row h2 { max-width: 800px; margin: 0; }
.section-number { color: #c7c2b8; font: 500 3.4rem/1 var(--font-heading); }
.story-columns { columns: 2; column-gap: 48px; margin-top: 32px; }
.story-columns p { break-inside: avoid; color: #525e6d; font-size: .9rem; }
.strategy-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 30px; background: var(--profile-line); border: 1px solid var(--profile-line); }
.strategy-strip article { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 25px; background: #fff; }
.strategy-strip i { color: var(--profile-gold); font-size: 1.4rem; margin-top: 4px; }
.strategy-strip span { color: #8e7112; font-size: .63rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.strategy-strip h3 { margin: 5px 0 0; font: 600 .94rem/1.55 var(--font-body); }
.values-line { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 25px; color: var(--profile-navy); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.values-line span::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 10px; background: var(--profile-gold); transform: rotate(45deg); }

.delivery-section { background: var(--profile-navy); color: #fff; }
.light-heading { border-color: rgba(255,255,255,.13); }
.light-heading h2 { color: #fff; }
.light-heading .section-number { color: rgba(255,255,255,.16); }
.delivery-bands { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 42px; }
.delivery-bands li { min-width: 0; }
.band-title { height: 96px; display: flex; align-items: center; gap: 13px; padding: 0 24px; color: #fff; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; clip-path: polygon(0 0,88% 0,100% 50%,88% 100%,0 100%,12% 50%); margin-left: -8%; }
.delivery-bands li:first-child .band-title { margin-left: 0; clip-path: polygon(0 0,88% 0,100% 50%,88% 100%,0 100%); }
.band-title small { opacity: .62; }
.band-discover .band-title { background: #0da5c8; }
.band-develop .band-title { background: #18bda3; }
.band-deliver .band-title { background: #df554c; }
.band-review .band-title { background: #8b9097; }
.delivery-bands li > div { padding: 24px 28px; border-left: 1px solid rgba(255,255,255,.12); }
.delivery-bands strong { display: block; color: #fff; font-size: .85rem; }
.delivery-bands p { margin: 8px 0 0; color: rgba(255,255,255,.58); font-size: .74rem; line-height: 1.55; }

.promise-section { background: #0d315e; color: #fff; }
.promise-grid { display: grid; grid-template-columns: .65fr 1fr; gap: 90px; }
.promise-intro h2 { color: #fff; }
.promise-intro > p:not(.brochure-kicker) { color: rgba(255,255,255,.67); }
.promise-intro .brochure-text-link { color: var(--profile-gold); margin-top: 10px; }
.promise-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px; }
.promise-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.82); font-size: .8rem; }
.promise-list li span { color: var(--profile-gold); font-size: .62rem; font-weight: 800; }

.capabilities-section { background: #fff; }
.capability-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; border-left: 1px solid var(--profile-line); border-top: 1px solid var(--profile-line); margin-top: 42px; }
.capability-grid article { min-height: 250px; position: relative; padding: 34px; border-right: 1px solid var(--profile-line); border-bottom: 1px solid var(--profile-line); }
.capability-grid .capability-lead { grid-row: span 2; min-height: 500px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(rgba(7,26,54,.62),rgba(7,26,54,.96)), url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=900&q=80") center/cover; }
.capability-grid article > span { position: absolute; top: 24px; right: 26px; color: #bbb5a9; font: 500 1.25rem var(--font-heading); }
.capability-grid i { color: var(--profile-gold); font-size: 1.75rem; }
.capability-grid h3 { margin-top: 22px; font-size: 1.2rem; }
.capability-grid p { margin: 0; color: #687384; font-size: .79rem; }
.capability-grid .capability-lead h3 { color: #fff; font-size: 1.8rem; }
.capability-grid .capability-lead p { color: rgba(255,255,255,.68); }
.industry-rail { display: grid; grid-template-columns: 180px 1fr; gap: 30px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--profile-line); }
.industry-rail > p { color: var(--profile-navy); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.industry-rail > div { display: flex; flex-wrap: wrap; gap: 10px; }
.industry-rail span { padding: 7px 11px; background: #f1efe9; color: #546071; font-size: .68rem; }

.broker-value { background: var(--profile-paper); }
.broker-value-grid { display: grid; grid-template-columns: .72fr 1fr; gap: 90px; align-items: start; }
.broker-value-lede { max-width: 560px; color: #657181; }
.broker-benefits { counter-reset: benefit; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.broker-benefits li { min-height: 160px; padding: 25px; background: #fff; border-top: 4px solid var(--profile-gold); box-shadow: 0 12px 35px rgba(7,26,54,.06); }
.broker-benefits strong, .broker-benefits span { display: block; }
.broker-benefits strong { color: var(--profile-navy); font: 600 1rem var(--font-heading); }
.broker-benefits span { margin-top: 12px; color: #677383; font-size: .77rem; line-height: 1.55; }

.partners-section { padding-top: 0; background: var(--profile-paper); }
.partners-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1px; background: var(--profile-line); border: 1px solid var(--profile-line); }
.partners-grid article { padding: 46px; background: #fff; }
.partners-grid h2 { font-size: 2rem; }
.partner-names { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; margin-top: 25px; }
.partner-names span { padding: 9px 0; border-bottom: 1px solid #ece9e2; color: #4f5b6b; font-size: .76rem; }
.partners-grid .csr-panel { position: relative; overflow: hidden; color: #fff; background: var(--profile-navy); }
.csr-panel h2 { max-width: 500px; color: #fff; }
.csr-panel > p:not(.brochure-kicker) { max-width: 450px; color: rgba(255,255,255,.64); font-size: .84rem; }
.csr-stamp { position: absolute; right: -25px; bottom: -25px; width: 145px; height: 145px; display: grid; place-content: center; text-align: center; border: 1px solid rgba(225,184,35,.4); border-radius: 50%; color: var(--profile-gold); transform: rotate(-10deg); }
.csr-stamp i { font-size: 1.6rem; }
.csr-stamp span { margin-top: 8px; font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; }

.profile-contact-section { position: relative; padding: 88px 0 92px; overflow: hidden; color: #fff; background: #07182f; }
.profile-contact-section::before, .profile-contact-section::after { content: ""; position: absolute; width: 190px; height: 190px; background: var(--profile-gold); transform: rotate(45deg); }
.profile-contact-section::before { top: -130px; left: -75px; }
.profile-contact-section::after { right: -95px; bottom: -145px; }
.contact-title { display: flex; justify-content: space-between; gap: 40px; align-items: end; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-title h2 { max-width: 760px; margin: 0; color: #fff; }
.profile-offices { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 42px; }
.profile-offices article { padding: 0 28px; border-left: 1px solid rgba(255,255,255,.14); }
.profile-offices article:first-child { padding-left: 0; border-left: 0; }
.profile-offices > article > span { color: var(--profile-gold); font-size: .6rem; font-weight: 800; letter-spacing: .14em; }
.profile-offices h3 { margin: 9px 0 16px; color: #fff; font-size: 1.15rem; }
.profile-offices p, .profile-offices a { display: block; color: rgba(255,255,255,.64); font-size: .72rem; line-height: 1.6; }
.profile-offices a { margin-top: 5px; color: #fff; }

.brochure-footer { color: #fff; background: #041024; }
.brochure-footer .container { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brochure-footer p { margin: 0; color: rgba(255,255,255,.48); font-size: .68rem; }
.brochure-footer > .container > a:last-child { color: var(--profile-gold); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 1020px) {
    .brochure-hero { min-height: 690px; }
    .brochure-hero-grid { gap: 30px; }
    .brochure-cover-art { height: 400px; }
    .profile-stat-rail .container { grid-template-columns: 1fr 1fr; }
    .profile-stat-rail div:nth-child(2) { border-right: 0; }
    .profile-stat-rail div:nth-child(-n+2) { border-bottom: 1px solid #e3e1da; }
    .brochure-about-grid, .promise-grid, .broker-value-grid { grid-template-columns: 1fr; gap: 44px; }
    .profile-index { position: static; }
    .delivery-bands { grid-template-columns: 1fr 1fr; gap: 26px 0; }
    .delivery-bands li:nth-child(3) .band-title { margin-left: 0; clip-path: polygon(0 0,88% 0,100% 50%,88% 100%,0 100%); }
    .capability-grid { grid-template-columns: 1fr 1fr; }
    .capability-grid .capability-lead { grid-row: span 2; }
    .profile-offices { grid-template-columns: 1fr 1fr; gap: 36px 0; }
    .profile-offices article:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
    .brochure-page .editorial-nav { width: calc(100% - 24px); }
    .brochure-hero { min-height: auto; }
    .brochure-hero-grid { grid-template-columns: 1fr; padding-top: 135px; padding-bottom: 50px; }
    .brochure-hero h1 { font-size: clamp(2.65rem,13vw,4rem); }
    .brochure-hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
    .brochure-cover-art { height: 290px; }
    .plane-one { right: -18%; }
    .profile-stat-rail { margin-top: 0; }
    .profile-stat-rail .container { grid-template-columns: 1fr 1fr; width: 100%; }
    .profile-stat-rail div { min-height: 102px; display: block; padding: 20px; }
    .profile-stat-rail strong, .profile-stat-rail span { display: block; }
    .profile-stat-rail span { margin-top: 7px; }
    .brochure-section { padding: 68px 0; }
    .section-heading-row, .contact-title { display: block; }
    .section-number { display: block; margin-top: 18px; font-size: 2.4rem; }
    .story-columns { columns: 1; }
    .strategy-strip, .promise-list, .broker-benefits, .partners-grid, .partner-names { grid-template-columns: 1fr; }
    .values-line { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .delivery-bands { grid-template-columns: 1fr; gap: 14px; }
    .band-title, .delivery-bands li:nth-child(n) .band-title { margin-left: 0; clip-path: polygon(0 0,90% 0,100% 50%,90% 100%,0 100%); }
    .delivery-bands li > div { padding: 16px 24px 22px; }
    .capability-grid { grid-template-columns: 1fr; }
    .capability-grid .capability-lead { grid-row: auto; min-height: 380px; }
    .capability-grid article { min-height: 220px; }
    .industry-rail { grid-template-columns: 1fr; gap: 10px; }
    .partners-grid article { padding: 30px; }
    .csr-panel { min-height: 360px; }
    .profile-offices { grid-template-columns: 1fr; }
    .profile-offices article, .profile-offices article:nth-child(n) { padding: 0 0 28px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
    .brochure-footer .container { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
}
