:root {
    --dralogy-black: #111111;
    --dralogy-white: #ffffff;
    --dralogy-gold: #d9a514;
    --dralogy-gold-dark: #b88908;
    --dralogy-muted: #6c6c6c;
    --dralogy-surface: #f7f7f5;
    --dralogy-border: #e8e8e3;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dralogy-white);
    color: var(--dralogy-black);
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: clip;
    padding-top: 80px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.navbar {
    min-height: 80px;
    border-color: var(--dralogy-border) !important;
}

.navbar-brand,
.footer-brand {
    align-items: center;
    color: var(--dralogy-black);
    display: inline-flex;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.brand-logo {
    display: block;
    height: 38px;
    max-width: 210px;
    object-fit: contain;
    width: auto;
}

.brand-logo--footer {
    height: 42px;
}

.brand-mark,
.section-kicker,
.hero-section h1 span {
    color: var(--dralogy-gold);
}

.navbar-nav {
    gap: 0.25rem;
}

.nav-link {
    color: var(--dralogy-black);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.65rem 0.8rem !important;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dralogy-gold-dark) !important;
}

.language-switcher {
    align-items: center;
    border: 1px solid var(--dralogy-border);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    gap: 0.35rem;
    letter-spacing: 0.08em;
    padding: 0.55rem 0.7rem;
}

.language-switcher a {
    color: var(--dralogy-muted);
    text-decoration: none;
}

.language-switcher a.active,
.language-switcher a:hover {
    color: var(--dralogy-gold-dark);
}

.btn-brand {
    background-color: var(--dralogy-gold);
    border: 1px solid var(--dralogy-gold);
    border-radius: 0;
    box-shadow: 0 0 0 rgba(217, 165, 20, 0);
    color: var(--dralogy-black);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.75rem 1.25rem;
    transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s, transform 0.25s;
    text-transform: uppercase;
}

.btn-brand:hover,
.btn-brand:focus {
    background-color: var(--dralogy-black);
    border-color: var(--dralogy-black);
    box-shadow: 0 10px 32px rgba(217, 165, 20, 0.3);
    color: var(--dralogy-white);
    transform: translateY(-2px);
}

.placeholder-section {
    align-items: center;
    display: flex;
    min-height: 55vh;
    padding: 7rem 0;
}

.hero-section {
    min-height: calc(100vh - 80px);
}

.section-muted {
    background-color: var(--dralogy-surface);
}

.section-dark {
    background-color: var(--dralogy-black);
    color: var(--dralogy-white);
}

.section-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 1.25rem;
}

h1,
h2 {
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    max-width: 1000px;
}

h1 {
    font-size: clamp(3rem, 8vw, 7.5rem);
}

h2 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
}

.section-placeholder {
    color: var(--dralogy-muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 0;
    text-transform: uppercase;
}

.section-dark .section-placeholder {
    color: #a8a8a8;
}

.site-footer {
    border-color: var(--dralogy-border) !important;
    padding: 3rem 0;
}

/* Home */
.home-hero {
    align-items: center;
    display: flex;
    min-height: calc(100vh - 80px);
    padding: 6rem 0 7rem;
}

.home-hero h1 {
    font-size: clamp(3.3rem, 5.7vw, 6.2rem);
}

.hero-copy,
.lead-copy,
.heading-copy {
    color: var(--dralogy-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 650px;
}

.btn-lg {
    border-radius: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 1rem 1.5rem;
    transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s, transform 0.25s;
    text-transform: uppercase;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.16);
    transform: translateY(-2px);
}

.hero-proof {
    border-top: 1px solid var(--dralogy-border);
    display: flex;
    gap: 2.5rem;
    margin-top: 3.5rem;
    max-width: 520px;
    padding-top: 1.25rem;
}

.hero-proof div {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.hero-proof strong {
    color: var(--dralogy-gold);
    font-size: 1.25rem;
}

.hero-proof span {
    color: var(--dralogy-muted);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.system-visual {
    min-height: 580px;
    position: relative;
}

.portal {
    border: 1px solid rgba(217, 165, 20, 0.45);
    filter: drop-shadow(0 0 8px rgba(217, 165, 20, 0.12));
    position: absolute;
    transform: rotate(45deg);
    will-change: filter, opacity;
}

.portal-one {
    height: 360px;
    right: 55px;
    top: 90px;
    width: 360px;
}

.portal-two {
    background: rgba(217, 165, 20, 0.05);
    height: 260px;
    right: 105px;
    top: 140px;
    width: 260px;
}

.dashboard-window {
    background: #fafafa;
    border: 1px solid var(--dralogy-border);
    box-shadow: 0 35px 80px rgba(17, 17, 17, 0.15);
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(94%, 570px);
    z-index: 2;
}

.dashboard-topbar {
    align-items: center;
    background: var(--dralogy-black);
    display: flex;
    height: 48px;
    padding: 0 14px;
}

.dashboard-logo {
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
}

.dashboard-logo span {
    color: var(--dralogy-gold);
}

.dashboard-search {
    background: #2b2b2b;
    height: 8px;
    margin: auto;
    width: 34%;
}

.dashboard-avatar {
    align-items: center;
    background: var(--dralogy-gold);
    border-radius: 50%;
    display: flex;
    font-size: 0.45rem;
    font-weight: 800;
    height: 22px;
    justify-content: center;
    width: 22px;
}

.dashboard-body {
    display: flex;
    min-height: 315px;
}

.dashboard-sidebar {
    align-items: center;
    background: #f1f1ee;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
    width: 52px;
}

.dashboard-sidebar span {
    background: #c9c9c3;
    border-radius: 50%;
    height: 7px;
    width: 7px;
}

.dashboard-sidebar span.active {
    background: var(--dralogy-gold);
    box-shadow: 0 0 0 6px rgba(217, 165, 20, 0.14);
}

.dashboard-content {
    flex: 1;
    padding: 24px;
}

.dashboard-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.dashboard-heading small,
.metric-card small {
    color: #96968f;
    display: block;
    font-size: 0.42rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.dashboard-heading strong {
    display: block;
    font-size: 0.85rem;
}

.dashboard-heading > span {
    border: 1px solid var(--dralogy-border);
    font-size: 0.42rem;
    font-weight: 800;
    padding: 5px 8px;
}

.metric-row {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 22px;
}

.metric-card {
    background: white;
    border: 1px solid var(--dralogy-border);
    padding: 12px;
}

.metric-card strong {
    display: block;
    font-size: 0.9rem;
    margin: 5px 0;
}

.metric-card em {
    color: #52945a;
    font-size: 0.46rem;
    font-style: normal;
    font-weight: 800;
}

.chart-card {
    background: white;
    border: 1px solid var(--dralogy-border);
    margin-top: 10px;
    padding: 18px 18px 8px;
}

.chart-bars {
    align-items: end;
    border-bottom: 1px solid var(--dralogy-border);
    display: flex;
    gap: 8px;
    height: 105px;
}

.chart-bars i {
    background: #dddcd6;
    display: block;
    flex: 1;
}

.chart-bars i:nth-last-child(-n+2) {
    background: var(--dralogy-gold);
}

.chart-label {
    color: #aaa;
    display: flex;
    font-size: 0.4rem;
    justify-content: space-between;
    margin-top: 5px;
}

.floating-module {
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--dralogy-border);
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
    display: flex;
    font-size: 0.62rem;
    font-weight: 800;
    gap: 8px;
    letter-spacing: 0.04em;
    padding: 9px 12px;
    position: absolute;
    text-transform: uppercase;
    will-change: transform;
    z-index: 3;
}

.floating-module span {
    color: var(--dralogy-gold-dark);
    font-size: 0.52rem;
}

.module-1 { left: 0; top: 72px; }
.module-2 { right: 5px; top: 45px; }
.module-3 { left: 5px; top: 230px; }
.module-4 { right: -4px; top: 205px; }
.module-5 { bottom: 130px; left: 12px; }
.module-6 { bottom: 95px; right: -5px; }
.module-7 { bottom: 22px; left: 95px; }
.module-8 { bottom: 4px; right: 80px; }

.content-section {
    padding: 8rem 0;
}

.content-section h2,
.final-cta h2 {
    font-size: clamp(2.8rem, 5.5vw, 5.7rem);
}

.section-heading {
    align-items: end;
    display: flex;
    gap: 3rem;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.section-heading h2 {
    margin-bottom: 0;
}

.heading-copy {
    margin-bottom: 0;
    max-width: 450px;
}

.text-link {
    border-bottom: 1px solid var(--dralogy-black);
    flex: none;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding-bottom: 5px;
    text-decoration: none;
}

.text-link span {
    color: var(--dralogy-gold-dark);
    margin-left: 8px;
}

.problem-grid {
    border: 1px solid var(--dralogy-border);
    margin-top: 5rem;
}

.problem-card {
    min-height: 280px;
    padding: 2.5rem;
}

.problem-card + .problem-card {
    border-left: 1px solid var(--dralogy-border);
}

.problem-card > span,
.module-category-card > span {
    color: var(--dralogy-gold-dark);
    font-size: 0.7rem;
    font-weight: 800;
}

.problem-card h3,
.module-category-card h3,
.industry-card h3,
.package-card h3,
.blog-card h3,
.workflow-item h3 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.problem-card h3 {
    margin: 5rem 0 0.75rem;
}

.problem-card p,
.module-category-card p,
.industry-card p,
.package-card p,
.blog-card p,
.workflow-item p,
.journey-step p {
    color: var(--dralogy-muted);
    margin-bottom: 0;
}

.journey-section {
    overflow: hidden;
}

.journey-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}

.journey-track::before {
    background: #3a3a3a;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    right: -50vw;
    top: 56px;
}

.journey-step {
    padding-right: 3rem;
    position: relative;
}

.journey-step > span {
    color: #777;
    font-size: 0.65rem;
    font-weight: 800;
}

.journey-dot {
    background: var(--dralogy-gold);
    border: 7px solid var(--dralogy-black);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--dralogy-gold);
    height: 17px;
    margin: 27px 0 2.5rem;
    position: relative;
    width: 17px;
    z-index: 1;
}

.journey-step h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.journey-step p {
    color: #969696;
    font-size: 0.9rem;
}

.module-category-card {
    border: 1px solid var(--dralogy-border);
    min-height: 260px;
    padding: 2rem;
    position: relative;
    transform-style: preserve-3d;
    transition: background-color 0.25s, box-shadow 0.25s, color 0.25s, transform 0.25s;
    will-change: transform;
}

.module-category-card h3 {
    margin: 3.5rem 0 0.5rem;
}

.module-category-card > a {
    align-items: center;
    border: 1px solid var(--dralogy-border);
    bottom: 2rem;
    display: flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 2rem;
    text-decoration: none;
    width: 36px;
}

.module-category-card:hover {
    background: var(--dralogy-black);
    box-shadow: 0 24px 55px rgba(17, 17, 17, 0.18);
    color: white;
    transform: translateY(-8px);
}

.industry-card {
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    padding: 2rem;
    transition: box-shadow 0.25s, transform 0.25s;
    will-change: transform;
}

.industry-card > span {
    align-items: center;
    background: var(--dralogy-gold);
    display: flex;
    font-size: 0.75rem;
    font-weight: 800;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.industry-card h3 {
    margin-bottom: 0.75rem;
}

.industry-card p {
    font-size: 0.9rem;
}

.section-title-centered {
    margin: 0 auto 4rem;
}

.section-title-centered .lead-copy {
    max-width: 600px;
}

.package-card {
    border: 1px solid var(--dralogy-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 510px;
    padding: 2.5rem;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s;
    will-change: transform;
}

.package-card.featured {
    background: var(--dralogy-black);
    border-color: var(--dralogy-black);
    color: white;
    transform: translateY(-1.5rem);
}

.package-label {
    background: var(--dralogy-gold);
    color: var(--dralogy-black);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 7px 12px;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.package-card > small {
    color: var(--dralogy-gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.package-card h3 {
    font-size: 1.75rem;
    margin: 3.5rem 0 1rem;
}

.package-card ul {
    border-top: 1px solid var(--dralogy-border);
    list-style: none;
    margin: 2rem 0;
    padding: 1.5rem 0 0;
}

.package-card li {
    color: var(--dralogy-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.package-card li::before {
    color: var(--dralogy-gold);
    content: "+";
    font-weight: 800;
    margin-right: 10px;
}

.package-card .btn {
    margin-top: auto;
}

.featured p,
.featured li {
    color: #aaa;
}

.combination-section {
    border-top: 1px solid var(--dralogy-border);
}

.module-map {
    height: 560px;
    position: relative;
}

.module-map::before,
.module-map::after {
    border: 1px solid var(--dralogy-border);
    border-radius: 50%;
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.module-map::before { height: 390px; width: 390px; }
.module-map::after { height: 250px; width: 250px; }

.map-core {
    align-items: center;
    background: var(--dralogy-black);
    border: 12px solid white;
    box-shadow: 0 0 0 1px var(--dralogy-border);
    color: white;
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    font-weight: 800;
    height: 140px;
    justify-content: center;
    left: 50%;
    letter-spacing: 0.08em;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    z-index: 2;
}

.map-core small {
    color: var(--dralogy-gold);
    font-size: 0.55rem;
    letter-spacing: 0.18em;
}

.map-node {
    background: white;
    border: 1px solid var(--dralogy-border);
    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.07);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 14px 18px;
    position: absolute;
    text-transform: uppercase;
    z-index: 2;
}

.map-node span {
    color: var(--dralogy-gold-dark);
    margin-right: 8px;
}

.map-node-1 { left: 38%; top: 3%; }
.map-node-2 { right: 5%; top: 24%; }
.map-node-3 { bottom: 21%; right: 2%; }
.map-node-4 { bottom: 3%; left: 39%; }
.map-node-5 { bottom: 21%; left: 0; }
.map-node-6 { left: 3%; top: 23%; }

.blog-visual {
    background: #deded8;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.blog-card {
    transition: transform 0.25s;
    will-change: transform;
}

.blog-card .blog-visual {
    transition: box-shadow 0.25s, transform 0.25s;
}

.blog-visual > span {
    color: white;
    font-size: 5rem;
    font-weight: 800;
    left: 1.5rem;
    line-height: 1;
    position: absolute;
    top: 1.5rem;
}

.blog-visual i {
    border: 1px solid var(--dralogy-gold);
    height: 220px;
    position: absolute;
    right: -20px;
    top: 30px;
    transform: rotate(45deg);
    width: 220px;
}

#blog .col-lg-4:nth-child(2) .blog-visual {
    background: var(--dralogy-black);
}

.blog-meta {
    display: flex;
    font-size: 0.62rem;
    font-weight: 800;
    justify-content: space-between;
    letter-spacing: 0.1em;
    margin-top: 1.5rem;
}

.blog-meta span {
    color: var(--dralogy-gold-dark);
}

.blog-meta time {
    color: var(--dralogy-muted);
}

.blog-card h3 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin: 1.25rem 0;
}

.blog-card > a {
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.blog-card > a span {
    color: var(--dralogy-gold-dark);
}

.workflow-item {
    border-top: 1px solid var(--dralogy-border);
    display: grid;
    gap: 2rem;
    grid-template-columns: 50px 1fr;
    padding: 2rem 0;
}

.workflow-item > span {
    color: var(--dralogy-gold-dark);
    font-size: 0.7rem;
    font-weight: 800;
}

.workflow-item h3 {
    margin-bottom: 0.5rem;
}

.workflow-item p {
    max-width: 570px;
}

.final-cta {
    overflow: hidden;
    padding: 9rem 0;
    position: relative;
}

.final-cta::after {
    border: 1px solid #333;
    content: "";
    height: 500px;
    position: absolute;
    right: -180px;
    top: -200px;
    transform: rotate(45deg);
    width: 500px;
}

.final-cta h2 {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.final-cta h2 span {
    color: var(--dralogy-gold);
}

.cta-circle {
    align-items: center;
    background: var(--dralogy-gold);
    border-radius: 50%;
    color: var(--dralogy-black);
    display: inline-flex;
    flex-direction: column;
    font-size: 0.68rem;
    font-weight: 800;
    height: 170px;
    justify-content: center;
    letter-spacing: 0.08em;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s;
    width: 170px;
    z-index: 2;
}

.cta-circle strong {
    font-size: 1.5rem;
    margin-top: 8px;
}

.cta-circle:hover {
    box-shadow: 0 0 45px rgba(217, 165, 20, 0.42);
    color: var(--dralogy-black);
    transform: rotate(5deg) scale(1.04);
}

/* Motion is progressively enabled by home.js. */
.motion-ready .home-hero .section-kicker,
.motion-ready .home-hero h1,
.motion-ready .home-hero .hero-copy,
.motion-ready .home-hero .d-flex,
.motion-ready .home-hero .hero-proof {
    opacity: 0;
    transform: translateY(28px);
}

.motion-ready .home-hero.hero-visible .section-kicker,
.motion-ready .home-hero.hero-visible h1,
.motion-ready .home-hero.hero-visible .hero-copy,
.motion-ready .home-hero.hero-visible .d-flex,
.motion-ready .home-hero.hero-visible .hero-proof {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .home-hero.hero-visible h1 { transition-delay: 0.08s; }
.motion-ready .home-hero.hero-visible .hero-copy { transition-delay: 0.16s; }
.motion-ready .home-hero.hero-visible .d-flex { transition-delay: 0.24s; }
.motion-ready .home-hero.hero-visible .hero-proof { transition-delay: 0.32s; }

.motion-ready .dashboard-window {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 24px)) scale(0.97);
}

.motion-ready .hero-visible .dashboard-window {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.9s 0.2s ease, transform 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .floating-module {
    opacity: 0;
}

.motion-ready .hero-visible .floating-module {
    animation: module-float var(--float-duration, 5s) ease-in-out infinite;
    animation-delay: calc(0.35s + (var(--float-index, 0) * 0.09s));
    opacity: 1;
    transition: opacity 0.55s ease;
}

.motion-ready .portal {
    animation: portal-glow 3.8s ease-in-out infinite alternate;
}

.motion-ready .portal-two {
    animation-delay: -1.9s;
}

.motion-ready .reveal-section {
    opacity: 0;
    transform: translateY(42px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes module-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -9px, 0);
    }
}

@keyframes portal-glow {
    from {
        filter: drop-shadow(0 0 5px rgba(217, 165, 20, 0.12));
        opacity: 0.6;
    }
    to {
        filter: drop-shadow(0 0 22px rgba(217, 165, 20, 0.48));
        opacity: 1;
    }
}

@media (hover: hover) and (pointer: fine) {
    .industry-card:hover {
        box-shadow: 0 28px 60px rgba(17, 17, 17, 0.13);
        transform: translateY(-8px);
    }

    .package-card:hover {
        box-shadow: 0 28px 60px rgba(17, 17, 17, 0.13);
        transform: translateY(-8px);
    }

    .package-card.featured:hover {
        box-shadow: 0 30px 65px rgba(17, 17, 17, 0.25);
        transform: translateY(-2rem);
    }

    .blog-card:hover {
        transform: translateY(-6px);
    }

    .blog-card:hover .blog-visual {
        box-shadow: 0 24px 50px rgba(17, 17, 17, 0.14);
        transform: scale(1.015);
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0 1.5rem;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .btn-brand {
        margin-top: 0.5rem;
        width: 100%;
    }

    .home-hero .btn-brand,
    .package-card .btn-brand {
        margin-top: 0;
        width: auto;
    }

    .home-hero {
        padding-top: 4.5rem;
    }

    .system-visual {
        margin-top: 2rem;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .journey-step {
        padding-right: 1.5rem;
    }

    .package-card.featured {
        transform: none;
    }

    .module-map {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        padding: 4rem 0 5rem;
    }

    .home-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .hero-proof {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .system-visual {
        min-height: 450px;
    }

    .dashboard-window {
        width: 100%;
    }

    .portal-one {
        height: 260px;
        right: 45px;
        width: 260px;
    }

    .portal-two {
        height: 190px;
        right: 80px;
        width: 190px;
    }

    .dashboard-content {
        padding: 15px;
    }

    .floating-module {
        font-size: 0.52rem;
        padding: 7px 9px;
    }

    .module-1 { top: 12px; }
    .module-2 { top: 40px; }
    .module-3 { left: -8px; top: 170px; }
    .module-4 { top: 185px; }
    .module-5 { bottom: 58px; left: 0; }
    .module-6 { bottom: 78px; }
    .module-7 { bottom: 5px; left: 25px; }
    .module-8 { bottom: -8px; right: 20px; }

    .content-section {
        padding: 5.5rem 0;
    }

    .content-section h2,
    .final-cta h2 {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }

    .problem-card {
        min-height: 230px;
    }

    .problem-card + .problem-card {
        border-left: 0;
        border-top: 1px solid var(--dralogy-border);
    }

    .problem-card h3 {
        margin-top: 3rem;
    }

    .journey-track {
        grid-template-columns: 1fr;
    }

    .journey-track::before {
        bottom: 0;
        height: auto;
        left: 7px;
        right: auto;
        top: 35px;
        width: 1px;
    }

    .journey-step {
        display: grid;
        gap: 0 1.5rem;
        grid-template-columns: 16px 1fr;
        margin-bottom: 2.5rem;
        padding: 0;
    }

    .journey-step > span {
        grid-column: 2;
    }

    .journey-dot {
        grid-column: 1;
        grid-row: 1 / span 3;
        margin: 4px 0 0;
    }

    .journey-step h3,
    .journey-step p {
        grid-column: 2;
    }

    .industry-card {
        min-height: 290px;
    }

    .package-card {
        min-height: 470px;
    }

    .module-map {
        height: 480px;
        transform: scale(0.86);
        transform-origin: center;
    }

    .module-map::before {
        height: 340px;
        width: 340px;
    }

    .module-map::after {
        height: 210px;
        width: 210px;
    }

    .map-node {
        padding: 11px;
    }

    .map-node-2,
    .map-node-3 { right: -4%; }
    .map-node-5,
    .map-node-6 { left: -4%; }

    .final-cta {
        padding: 6rem 0;
    }

    .cta-circle {
        height: 140px;
        margin-top: 2rem;
        width: 140px;
    }

    .motion-ready .hero-visible .floating-module {
        animation-duration: 7s;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .motion-ready .home-hero .section-kicker,
    .motion-ready .home-hero h1,
    .motion-ready .home-hero .hero-copy,
    .motion-ready .home-hero .d-flex,
    .motion-ready .home-hero .hero-proof,
    .motion-ready .dashboard-window,
    .motion-ready .floating-module,
    .motion-ready .reveal-section {
        opacity: 1;
    }

    .motion-ready .home-hero .section-kicker,
    .motion-ready .home-hero h1,
    .motion-ready .home-hero .hero-copy,
    .motion-ready .home-hero .d-flex,
    .motion-ready .home-hero .hero-proof,
    .motion-ready .reveal-section {
        transform: none;
    }

    .motion-ready .dashboard-window {
        transform: translate(-50%, -50%);
    }
}

/* ERP Modules */
.module-index-hero,
.module-detail-hero {
    padding: 8rem 0 6rem;
}

.module-index-hero {
    padding-bottom: 7rem;
}

.module-index-hero h1,
.module-detail-hero h1 {
    font-size: clamp(3.5rem, 7vw, 7.4rem);
}

.module-index-hero h1 span {
    color: var(--dralogy-gold);
}

.module-category-nav {
    background: var(--dralogy-white);
    border-bottom: 1px solid var(--dralogy-border);
    border-top: 1px solid var(--dralogy-border);
    position: sticky;
    top: 80px;
    z-index: 10;
}

.module-category-links {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.module-category-links::-webkit-scrollbar {
    display: none;
}

.module-category-links a {
    flex: none;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 1.25rem 0;
    text-decoration: none;
    text-transform: uppercase;
}

.module-category-links a:hover {
    color: var(--dralogy-gold-dark);
}

.module-category-links span {
    color: var(--dralogy-gold-dark);
    margin-right: 0.45rem;
}

.module-category-directory {
    background: var(--dralogy-surface);
    border-bottom: 1px solid var(--dralogy-border);
    border-top: 1px solid var(--dralogy-border);
    padding: 4rem 0;
}

.module-category-directory__heading {
    align-items: end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.module-category-directory__heading > span {
    color: var(--dralogy-gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.module-category-directory__heading p {
    color: var(--dralogy-muted);
    margin: 0;
    max-width: 600px;
}

.module-category-directory__grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-category-directory__grid a {
    background: var(--dralogy-white);
    border: 1px solid var(--dralogy-border);
    display: flex;
    flex-direction: column;
    min-height: 150px;
    padding: 1.25rem;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.module-category-directory__grid a > span {
    color: var(--dralogy-gold-dark);
    font-size: 0.62rem;
    font-weight: 800;
}

.module-category-directory__grid strong {
    font-size: 0.92rem;
    line-height: 1.35;
    margin: auto 0 0.5rem;
}

.module-category-directory__grid small {
    color: var(--dralogy-muted);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.module-catalog-section {
    border-bottom: 1px solid var(--dralogy-border);
    padding: 7rem 0;
    scroll-margin-top: 145px;
}

.module-catalog-section:nth-of-type(even) {
    background: var(--dralogy-surface);
}

.module-catalog-section h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
}

.module-category-number {
    color: var(--dralogy-gold-dark);
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.8;
}

.erp-module-card {
    background: var(--dralogy-white);
    border: 1px solid var(--dralogy-border);
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 2rem;
    transition: box-shadow 0.25s, transform 0.25s;
}

.erp-module-card__top {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.erp-module-icon,
.module-detail-icon {
    align-items: center;
    background: var(--dralogy-gold);
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 800;
    height: 54px;
    justify-content: center;
    letter-spacing: 0.05em;
    width: 54px;
}

.erp-module-arrow {
    color: var(--dralogy-muted);
    font-size: 1.25rem;
}

.erp-module-card small {
    color: var(--dralogy-gold-dark);
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.erp-module-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.erp-module-card p {
    color: var(--dralogy-muted);
    font-size: 0.9rem;
}

.erp-module-card__footer {
    align-items: center;
    border-top: 1px solid var(--dralogy-border);
    display: flex;
    font-size: 0.65rem;
    font-weight: 800;
    justify-content: space-between;
    letter-spacing: 0.04em;
    margin-top: auto;
    padding-top: 1.25rem;
    text-transform: uppercase;
}

.erp-module-card__footer > span {
    color: var(--dralogy-muted);
}

.erp-module-card__footer a {
    border-bottom: 1px solid var(--dralogy-black);
    text-decoration: none;
}

.module-index-cta,
.module-detail-cta {
    padding: 7rem 0;
}

.module-index-cta h2,
.module-detail-cta h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
    margin-bottom: 0;
}

.module-empty-state {
    padding: 10rem 0;
}

.module-breadcrumb {
    color: var(--dralogy-muted);
    display: flex;
    font-size: 0.68rem;
    font-weight: 800;
    gap: 0.75rem;
    letter-spacing: 0.08em;
    margin-bottom: 5rem;
    text-transform: uppercase;
}

.module-breadcrumb a {
    text-decoration: none;
}

.module-breadcrumb a:hover {
    color: var(--dralogy-gold-dark);
}

.module-detail-icon {
    margin-bottom: 2rem;
}

.module-price {
    border-left: 3px solid var(--dralogy-gold);
    margin-top: 2rem;
    padding-left: 1.5rem;
}

.module-price small,
.module-price span {
    color: var(--dralogy-muted);
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.module-price strong {
    display: block;
    font-size: 1.7rem;
    margin: 0.3rem 0;
}

.module-detail-intro,
.module-detail-features,
.module-suitable-section,
.related-modules {
    padding: 8rem 0;
}

.module-detail-intro {
    border-top: 1px solid var(--dralogy-border);
}

.module-detail-intro h2,
.module-detail-features h2,
.module-suitable-section h2,
.related-modules h2 {
    font-size: clamp(2.6rem, 5vw, 5rem);
}

.module-description {
    color: var(--dralogy-muted);
    font-size: 1.15rem;
    line-height: 2;
    max-width: 820px;
}

.module-feature-list {
    border-top: 1px solid var(--dralogy-border);
}

.module-feature-item {
    align-items: center;
    border-bottom: 1px solid var(--dralogy-border);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 45px 1fr;
    padding: 1.75rem 0;
}

.module-feature-item > span {
    color: var(--dralogy-gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
}

.module-feature-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.module-suitable-grid {
    display: grid;
    gap: 1rem;
}

.module-suitable-grid > div {
    align-items: center;
    border: 1px solid var(--dralogy-border);
    display: grid;
    gap: 1rem;
    grid-template-columns: 42px 1fr;
    padding: 1.4rem;
}

.module-suitable-grid span {
    align-items: center;
    background: var(--dralogy-gold);
    display: flex;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.module-suitable-grid p {
    font-weight: 700;
    margin: 0;
}

.related-module-card {
    background: var(--dralogy-white);
    border: 1px solid var(--dralogy-border);
    display: block;
    min-height: 240px;
    padding: 2rem;
    text-decoration: none;
    transition: box-shadow 0.25s, transform 0.25s;
}

.related-module-card > i {
    color: var(--dralogy-gold-dark);
    font-size: 1.35rem;
    font-weight: 800;
}

.related-module-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 4rem 0 1.5rem;
}

.related-module-card small {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

@media (hover: hover) and (pointer: fine) {
    .module-category-directory__grid a:hover {
        background: var(--dralogy-black);
        border-color: var(--dralogy-black);
        color: var(--dralogy-white);
        transform: translateY(-4px);
    }

    .erp-module-card:hover,
    .related-module-card:hover {
        box-shadow: 0 28px 60px rgba(17, 17, 17, 0.13);
        transform: translateY(-7px);
    }
}

@media (max-width: 991.98px) {
    .module-index-hero,
    .module-detail-hero {
        padding: 6rem 0 5rem;
    }

    .module-category-nav {
        top: 80px;
    }

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

    .module-detail-intro,
    .module-detail-features,
    .module-suitable-section,
    .related-modules {
        padding: 6rem 0;
    }
}

@media (max-width: 767.98px) {
    .module-index-hero h1,
    .module-detail-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .module-category-nav {
        position: static;
    }

    .module-category-directory {
        padding: 3.5rem 0;
    }

    .module-category-directory__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .module-category-directory__grid a {
        min-height: 130px;
        padding: 1rem;
    }

    .module-catalog-section {
        padding: 5rem 0;
        scroll-margin-top: 20px;
    }

    .module-category-number {
        display: inline-block;
        margin-bottom: 1rem;
    }

    .erp-module-card {
        min-height: 360px;
    }

    .module-index-cta,
    .module-detail-cta {
        padding: 5rem 0;
    }

    .module-breadcrumb {
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 420px) {
    .module-category-directory__grid {
        gap: 0.6rem;
    }

    .module-category-directory__grid a {
        min-height: 122px;
    }

    .module-category-directory__grid strong {
        font-size: 0.82rem;
    }
}

/* Demo */
.demo-index-hero {
    padding: 8rem 0 7rem;
}

.demo-index-hero h1 {
    font-size: clamp(3.25rem, 5.4vw, 5.8rem);
}

.demo-index-hero h1 span {
    color: var(--dralogy-gold);
}

.demo-index-content {
    background: var(--dralogy-surface);
    border-top: 1px solid var(--dralogy-border);
    padding: 7rem 0;
}

.demo-index-intro {
    align-items: center;
    border-bottom: 1px solid var(--dralogy-border);
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding-bottom: 1.5rem;
}

.demo-index-intro > span {
    color: var(--dralogy-gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.demo-index-intro p {
    color: var(--dralogy-muted);
    margin: 0;
    max-width: 620px;
}

.demo-card {
    background: var(--dralogy-white);
    border: 1px solid var(--dralogy-border);
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 2rem;
    transition: box-shadow 0.25s, transform 0.25s;
    width: 100%;
}

.demo-card--featured {
    border-top: 3px solid var(--dralogy-gold);
}

.demo-card__top {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.demo-card__icon {
    align-items: center;
    background: var(--dralogy-gold);
    display: flex;
    font-size: 1.35rem;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.demo-card__top small {
    border: 1px solid var(--dralogy-border);
    color: var(--dralogy-muted);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.45rem 0.6rem;
    text-transform: uppercase;
}

.demo-card h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
    margin-bottom: 1rem;
}

.demo-card p {
    color: var(--dralogy-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0;
}

.demo-card__footer {
    border-top: 1px solid var(--dralogy-border);
    margin-top: auto;
    padding-top: 1.25rem;
}

.demo-card__footer a,
.demo-card__footer > span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.demo-card__footer a span {
    color: var(--dralogy-gold-dark);
    margin-left: 0.4rem;
}

.demo-card__footer > span {
    color: var(--dralogy-muted);
}

.demo-index-cta {
    padding: 7rem 0;
}

.demo-index-cta h2 {
    font-size: clamp(2.3rem, 4vw, 4.2rem);
    margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
    .demo-card:hover {
        box-shadow: 0 28px 60px rgba(17, 17, 17, 0.13);
        transform: translateY(-6px);
    }
}

@media (max-width: 991.98px) {
    .demo-index-hero {
        padding: 6rem 0 5rem;
    }
}

@media (max-width: 767.98px) {
    .demo-index-hero h1 {
        font-size: clamp(2.65rem, 12.5vw, 4.15rem);
    }

    .demo-index-content {
        padding: 5rem 0;
    }

    .demo-index-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .demo-card {
        min-height: 350px;
        padding: 1.5rem;
    }
}

/* Module index */
.module-index-content {
    background: var(--dralogy-surface);
    border-top: 1px solid var(--dralogy-border);
    padding: 7rem 0;
}

.module-index-intro {
    align-items: end;
    border-bottom: 1px solid var(--dralogy-border);
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding-bottom: 1.5rem;
}

.module-index-intro > span,
.module-category-count {
    color: var(--dralogy-gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.module-index-intro p {
    color: var(--dralogy-muted);
    margin: 0;
    max-width: 620px;
}

.module-index-card {
    background: var(--dralogy-white);
    border: 1px solid var(--dralogy-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 430px;
    padding: 2rem;
    transition: box-shadow 0.25s, transform 0.25s;
}

.module-index-card__top {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.module-index-card__top > span {
    color: var(--dralogy-gold-dark);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
}

.module-index-card__top small {
    border: 1px solid var(--dralogy-border);
    color: var(--dralogy-muted);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.45rem 0.6rem;
}

.module-index-card h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
    margin-bottom: 0.8rem;
}

.module-index-card > p {
    color: var(--dralogy-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.module-index-card__modules {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.module-index-card__modules span {
    background: var(--dralogy-surface);
    border: 1px solid var(--dralogy-border);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.4rem 0.55rem;
}

.module-index-card__footer {
    align-items: center;
    border-top: 1px solid var(--dralogy-border);
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.25rem;
}

.module-index-card__footer > span {
    color: var(--dralogy-muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.module-index-card__footer > span small {
    font-size: inherit;
}

.module-index-card__footer a {
    align-items: center;
    border: 1px solid var(--dralogy-border);
    display: flex;
    height: 38px;
    justify-content: center;
    text-decoration: none;
    width: 38px;
}

.module-category-monthly-price small,
.module-category-monthly-price span {
    color: var(--dralogy-muted);
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.module-category-monthly-price strong {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2;
}

.module-category-detail-hero {
    padding: 8rem 0 7rem;
}

.module-category-detail-hero h1 {
    font-size: clamp(3.5rem, 7vw, 7rem);
}

.module-category-monthly-price {
    border-left: 3px solid var(--dralogy-gold);
    margin-top: 2rem;
    padding-left: 1.25rem;
}

.module-category-detail-list,
.module-category-fit {
    padding: 8rem 0;
}

.module-category-detail-card {
    background: var(--dralogy-white);
    border: 1px solid var(--dralogy-border);
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 1.75rem;
    text-decoration: none;
    transition: box-shadow 0.25s, transform 0.25s;
    width: 100%;
}

.module-category-detail-card > i {
    align-items: center;
    background: var(--dralogy-gold);
    display: flex;
    font-size: 1.15rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.module-category-detail-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 3rem 0 0.75rem;
}

.module-category-detail-card p {
    color: var(--dralogy-muted);
    font-size: 0.85rem;
}

.module-category-detail-card small {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    margin-top: auto;
}

.module-category-checklist,
.module-category-problems {
    border-top: 1px solid var(--dralogy-border);
    margin-top: 3rem;
}

.module-category-checklist > div,
.module-category-problems > div {
    align-items: center;
    border-bottom: 1px solid var(--dralogy-border);
    display: grid;
    gap: 1rem;
    grid-template-columns: 40px 1fr;
    padding: 1.25rem 0;
}

.module-category-checklist span {
    align-items: center;
    background: var(--dralogy-gold);
    display: flex;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.module-category-problems span {
    color: var(--dralogy-gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
}

.module-category-checklist p,
.module-category-problems p {
    font-weight: 700;
    margin: 0;
}

@media (hover: hover) and (pointer: fine) {
    .module-index-card:hover,
    .module-category-detail-card:hover {
        box-shadow: 0 28px 60px rgba(17, 17, 17, 0.13);
        transform: translateY(-6px);
    }

    .module-index-card__footer a:hover {
        background: var(--dralogy-gold);
        border-color: var(--dralogy-gold);
        color: var(--dralogy-black);
    }
}

@media (max-width: 991.98px) {
    .module-category-detail-hero {
        padding: 6rem 0 5rem;
    }

    .module-category-detail-list,
    .module-category-fit {
        padding: 6rem 0;
    }
}

@media (max-width: 767.98px) {
    .module-index-content {
        padding: 5rem 0;
    }

    .module-index-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .module-index-card {
        min-height: 390px;
        padding: 1.5rem;
    }

    .module-index-card__top {
        margin-bottom: 3rem;
    }

    .module-category-detail-hero h1 {
        font-size: clamp(2.65rem, 12.5vw, 4.15rem);
    }

    .module-category-detail-card {
        min-height: 280px;
    }
}

/* Industries */
.industry-index-hero,
.industry-detail-hero {
    padding: 8rem 0 7rem;
}

.industry-index-hero h1,
.industry-detail-hero h1 {
    font-size: clamp(3.5rem, 7vw, 7.4rem);
}

.industry-index-hero h1 span {
    color: var(--dralogy-gold);
}

.industry-index-content {
    background: var(--dralogy-surface);
    padding: 7rem 0;
}

.industry-intro {
    align-items: center;
    border-bottom: 1px solid var(--dralogy-border);
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding-bottom: 1.5rem;
}

.industry-intro > span {
    color: var(--dralogy-gold-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.industry-intro p {
    color: var(--dralogy-muted);
    margin: 0;
    max-width: 580px;
}

.business-type-card {
    background: var(--dralogy-white);
    border: 1px solid var(--dralogy-border);
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 2rem;
    transition: box-shadow 0.25s, transform 0.25s;
}

.business-type-card__top,
.industry-module-card__top {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.business-type-card__top > span,
.industry-detail-icon,
.industry-module-card__top > i {
    align-items: center;
    background: var(--dralogy-gold);
    display: flex;
    font-size: 1.2rem;
    font-weight: 800;
    height: 56px;
    justify-content: center;
    letter-spacing: 0.05em;
    width: 56px;
}

.business-type-card__top small {
    color: #c8c8c1;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.business-type-card > div:nth-child(2) {
    margin: auto 0;
}

.business-type-card h2 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.business-type-card p {
    color: var(--dralogy-muted);
    font-size: 0.9rem;
}

.business-type-card__footer {
    align-items: center;
    border-top: 1px solid var(--dralogy-border);
    display: flex;
    justify-content: space-between;
    padding-top: 1.25rem;
}

.business-type-card__footer > span {
    color: var(--dralogy-muted);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.business-type-card__footer a {
    align-items: center;
    border: 1px solid var(--dralogy-border);
    display: flex;
    height: 38px;
    justify-content: center;
    text-decoration: none;
    width: 38px;
}

.industry-index-cta,
.industry-detail-cta {
    padding: 7rem 0;
}

.industry-index-cta h2,
.industry-detail-cta h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
    margin-bottom: 0;
}

.industry-detail-icon {
    margin-bottom: 2rem;
}

.industry-detail-hero .section-kicker {
    display: block;
}

.industry-problems,
.industry-recommendations,
.industry-flow {
    padding: 8rem 0;
}

.industry-problems {
    border-top: 1px solid var(--dralogy-border);
}

.industry-problems h2,
.industry-recommendations h2,
.industry-flow h2 {
    font-size: clamp(2.6rem, 5vw, 5rem);
}

.industry-problem-list {
    border-top: 1px solid var(--dralogy-border);
}

.industry-problem-list article {
    align-items: center;
    border-bottom: 1px solid var(--dralogy-border);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 48px 1fr;
    padding: 1.8rem 0;
}

.industry-problem-list span {
    color: var(--dralogy-gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
}

.industry-problem-list h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.industry-module-card {
    background: var(--dralogy-white);
    border: 1px solid var(--dralogy-border);
    display: flex;
    flex-direction: column;
    min-height: 340px;
    padding: 2rem;
    transition: box-shadow 0.25s, transform 0.25s;
}

.industry-module-card__top {
    margin-bottom: 3.5rem;
}

.industry-module-card__top > i {
    height: 48px;
    width: 48px;
}

.industry-module-card__top small {
    color: var(--dralogy-gold-dark);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.industry-module-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
}

.industry-module-card p {
    color: var(--dralogy-muted);
    font-size: 0.88rem;
}

.industry-module-card > a {
    border-top: 1px solid var(--dralogy-border);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-top: auto;
    padding-top: 1.25rem;
    text-decoration: none;
}

.industry-module-card > a span {
    color: var(--dralogy-gold-dark);
    float: right;
}

.industry-flow-track {
    position: relative;
}

.industry-flow-track::before {
    background: var(--dralogy-border);
    bottom: 2.5rem;
    content: "";
    left: 28px;
    position: absolute;
    top: 2.5rem;
    width: 1px;
}

.industry-flow-track article {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: 58px 1fr;
    margin-bottom: 2.5rem;
    position: relative;
}

.industry-flow-number {
    align-items: center;
    background: var(--dralogy-black);
    border: 8px solid var(--dralogy-white);
    box-shadow: 0 0 0 1px var(--dralogy-border);
    color: var(--dralogy-gold);
    display: flex;
    font-size: 0.65rem;
    font-weight: 800;
    height: 58px;
    justify-content: center;
    width: 58px;
    z-index: 1;
}

.industry-flow-track small {
    color: var(--dralogy-gold-dark);
    display: block;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
}

.industry-flow-track h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

@media (hover: hover) and (pointer: fine) {
    .business-type-card:hover,
    .industry-module-card:hover {
        box-shadow: 0 28px 60px rgba(17, 17, 17, 0.13);
        transform: translateY(-7px);
    }
}

@media (max-width: 991.98px) {
    .industry-index-hero,
    .industry-detail-hero {
        padding: 6rem 0 5rem;
    }

    .industry-problems,
    .industry-recommendations,
    .industry-flow {
        padding: 6rem 0;
    }
}

@media (max-width: 767.98px) {
    .industry-index-hero h1,
    .industry-detail-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .industry-index-content {
        padding: 5rem 0;
    }

    .industry-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .business-type-card {
        min-height: 390px;
    }

    .industry-index-cta,
    .industry-detail-cta {
        padding: 5rem 0;
    }

    .industry-module-card {
        min-height: 320px;
    }
}

/* Packages */
.package-index-hero {
    padding: 8rem 0 7rem;
}

.package-index-hero h1 {
    font-size: clamp(3.5rem, 7vw, 7.4rem);
}

.package-index-hero h1 span {
    color: var(--dralogy-gold);
}

.package-index-content {
    background: var(--dralogy-surface);
    padding: 7rem 0;
}

.package-index-intro {
    align-items: center;
    border-bottom: 1px solid var(--dralogy-border);
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding-bottom: 1.5rem;
}

.package-index-intro > span {
    color: var(--dralogy-gold-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.package-index-intro p {
    color: var(--dralogy-muted);
    margin: 0;
    max-width: 620px;
}

.erp-package-card {
    background: var(--dralogy-white);
    border: 1px solid var(--dralogy-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 730px;
    padding: 2.5rem;
    transition: box-shadow 0.25s, transform 0.25s;
}

.erp-package-card--featured {
    background: var(--dralogy-black);
    border-color: var(--dralogy-black);
    color: var(--dralogy-white);
    min-height: 610px;
    padding: 3rem;
}

.erp-package-card__header {
    align-items: center;
    border-bottom: 1px solid var(--dralogy-border);
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 1.25rem;
}

.erp-package-card--featured .erp-package-card__header,
.erp-package-card--featured .erp-package-card__footer {
    border-color: #353535;
}

.erp-package-card__header > span {
    color: var(--dralogy-gold-dark);
    font-size: 0.75rem;
    font-weight: 800;
}

.erp-package-card__header small {
    color: var(--dralogy-muted);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.erp-package-card--featured .erp-package-card__header small {
    color: var(--dralogy-gold);
}

.erp-package-card h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin-bottom: 1.25rem;
}

.erp-package-description {
    color: var(--dralogy-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.erp-package-card--featured .erp-package-description,
.erp-package-card--featured .erp-package-target p {
    color: #a8a8a8;
}

.erp-package-price {
    border-left: 3px solid var(--dralogy-gold);
    margin: 2.5rem 0;
    padding-left: 1.25rem;
}

.erp-package-price small,
.erp-package-price span,
.erp-package-target small,
.erp-package-modules > small {
    color: var(--dralogy-muted);
    display: block;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.erp-package-price strong {
    display: block;
    font-size: 1.75rem;
    line-height: 1.3;
    margin: 0.2rem 0;
}

.erp-package-target {
    margin-bottom: 2.5rem;
}

.erp-package-target p {
    color: var(--dralogy-muted);
    font-size: 0.9rem;
    margin: 0.65rem 0 0;
}

.erp-package-modules {
    border-top: 1px solid var(--dralogy-border);
    padding-top: 1.5rem;
}

.erp-package-card--featured .erp-package-modules {
    border-color: #353535;
}

.erp-package-modules > div {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.25rem;
}

.erp-package-modules a {
    align-items: center;
    border: 1px solid var(--dralogy-border);
    display: flex;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.7rem;
    min-height: 46px;
    padding: 0.65rem;
    text-decoration: none;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.erp-package-card--featured .erp-package-modules a {
    border-color: #353535;
}

.erp-package-modules a > i {
    align-items: center;
    background: var(--dralogy-gold);
    color: var(--dralogy-black);
    display: flex;
    flex: none;
    font-size: 0.85rem;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.erp-package-modules a:hover {
    background: var(--dralogy-gold);
    border-color: var(--dralogy-gold);
    color: var(--dralogy-black);
}

.erp-package-modules a:hover > i {
    background: var(--dralogy-black);
    color: var(--dralogy-white);
}

.erp-package-card__footer {
    align-items: center;
    border-top: 1px solid var(--dralogy-border);
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 2rem;
}

.erp-package-card__footer > span {
    color: var(--dralogy-muted);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.erp-package-card__footer .btn {
    border-radius: 0;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.85rem 1.15rem;
    text-transform: uppercase;
}

.package-process {
    padding: 8rem 0;
}

.package-process h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
}

.package-process-item {
    border-top: 1px solid var(--dralogy-border);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 45px 1fr;
    padding: 2rem 0;
}

.package-process-item > span {
    color: var(--dralogy-gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
}

.package-process-item h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.package-process-item p {
    color: var(--dralogy-muted);
    margin: 0;
}

.package-index-cta {
    padding: 7rem 0;
}

.package-index-cta h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
    margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
    .erp-package-card:hover {
        box-shadow: 0 28px 60px rgba(17, 17, 17, 0.13);
        transform: translateY(-7px);
    }

    .erp-package-card--featured:hover {
        box-shadow: 0 32px 70px rgba(17, 17, 17, 0.25);
    }
}

@media (max-width: 991.98px) {
    .package-index-hero {
        padding: 6rem 0 5rem;
    }

    .erp-package-card,
    .erp-package-card--featured {
        min-height: auto;
    }

    .package-process {
        padding: 6rem 0;
    }
}

@media (max-width: 767.98px) {
    .package-index-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .package-index-content {
        padding: 5rem 0;
    }

    .package-index-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .erp-package-card,
    .erp-package-card--featured {
        padding: 1.75rem;
    }

    .erp-package-modules > div {
        grid-template-columns: 1fr;
    }

    .erp-package-card__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 1.25rem;
    }

    .erp-package-card__footer .btn {
        width: 100%;
    }

    .package-index-cta {
        padding: 5rem 0;
    }
}

/* Blog */
.blog-index-hero,
.blog-category-hero,
.blog-detail-hero {
    padding: 8rem 0 6rem;
}

.blog-index-hero h1,
.blog-category-hero h1 {
    font-size: clamp(3.5rem, 7vw, 7.4rem);
}

.blog-index-hero h1 span {
    color: var(--dralogy-gold);
}

.blog-category-nav {
    background: var(--dralogy-white);
    border-bottom: 1px solid var(--dralogy-border);
    border-top: 1px solid var(--dralogy-border);
    position: sticky;
    top: 80px;
    z-index: 10;
}

.blog-category-links {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.blog-category-links::-webkit-scrollbar {
    display: none;
}

.blog-category-links a {
    border-bottom: 2px solid transparent;
    flex: none;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    padding: 1.25rem 0;
    text-decoration: none;
    text-transform: uppercase;
}

.blog-category-links a.active,
.blog-category-links a:hover {
    border-color: var(--dralogy-gold);
    color: var(--dralogy-gold-dark);
}

.blog-category-links a span {
    color: var(--dralogy-muted);
    font-size: 0.55rem;
    margin-left: 0.35rem;
}

.blog-featured {
    padding: 6rem 0 3rem;
}

.blog-featured-card {
    border: 1px solid var(--dralogy-border);
}

.blog-featured-visual,
.blog-index-card__visual {
    background: #deded8;
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.blog-featured-visual {
    height: 100%;
    min-height: 560px;
}

.blog-featured-visual > span,
.blog-index-card__visual > span {
    color: var(--dralogy-white);
    font-weight: 800;
    left: 2rem;
    letter-spacing: -0.06em;
    line-height: 1;
    position: absolute;
    top: 2rem;
    z-index: 1;
}

.blog-featured-visual > span {
    font-size: 8rem;
}

.blog-featured-visual i,
.blog-index-card__visual i {
    border: 1px solid var(--dralogy-gold);
    display: block;
    position: absolute;
    transform: rotate(45deg);
}

.blog-featured-visual i {
    height: 420px;
    right: -60px;
    top: 65px;
    width: 420px;
}

.blog-featured-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 560px;
    padding: 3rem;
}

.blog-featured-content > small {
    color: var(--dralogy-gold-dark);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-top: auto;
}

.blog-featured-content h2 {
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    margin: 1.25rem 0;
}

.blog-featured-content h2 a,
.blog-index-card h2 a {
    text-decoration: none;
}

.blog-featured-content p,
.blog-index-card > p {
    color: var(--dralogy-muted);
}

.blog-featured-content .blog-read-link {
    margin-top: auto;
}

.blog-latest,
.blog-related {
    padding: 5rem 0 8rem;
}

.blog-category-list {
    padding-top: 6rem;
}

.blog-section-heading {
    align-items: center;
    border-bottom: 1px solid var(--dralogy-border);
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 1.25rem;
}

.blog-section-heading span,
.blog-section-heading strong {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.blog-section-heading span {
    color: var(--dralogy-gold-dark);
}

.blog-section-heading strong {
    color: var(--dralogy-muted);
}

.blog-index-card {
    height: 100%;
    transition: transform 0.25s;
}

.blog-index-card__visual {
    height: 300px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.blog-index-card__visual > span {
    font-size: 5rem;
}

.blog-index-card__visual i {
    height: 230px;
    right: -30px;
    top: 35px;
    width: 230px;
}

.blog-index-card__visual img,
.blog-detail-cover__visual img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.blog-index-card__meta {
    align-items: center;
    display: flex;
    font-size: 0.62rem;
    font-weight: 800;
    justify-content: space-between;
    letter-spacing: 0.08em;
    margin: 1.5rem 0 1rem;
    text-transform: uppercase;
}

.blog-index-card__meta a {
    color: var(--dralogy-gold-dark);
    text-decoration: none;
}

.blog-index-card__meta time {
    color: var(--dralogy-muted);
}

.blog-index-card h2 {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.blog-index-card > p {
    font-size: 0.9rem;
}

.blog-read-link {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-top: 1rem;
    text-decoration: none;
}

.blog-read-link span {
    color: var(--dralogy-gold-dark);
    margin-left: 0.4rem;
}

.blog-detail-hero {
    padding-bottom: 5rem;
}

.blog-detail-category {
    color: var(--dralogy-gold-dark);
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
}

.blog-detail-hero h1 {
    font-size: clamp(3.2rem, 6.5vw, 6.8rem);
    max-width: 1200px;
}

.blog-detail-excerpt {
    color: var(--dralogy-muted);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 820px;
}

.blog-detail-meta {
    border-top: 1px solid var(--dralogy-border);
    display: flex;
    gap: 4rem;
    margin-top: 3.5rem;
    padding-top: 1.5rem;
}

.blog-detail-meta small,
.blog-detail-meta strong,
.blog-detail-meta time {
    display: block;
    font-size: 0.63rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-detail-meta small {
    color: var(--dralogy-muted);
    margin-bottom: 0.25rem;
}

.blog-detail-cover {
    padding-bottom: 7rem;
}

.blog-detail-cover__visual {
    background: var(--dralogy-black);
    height: min(62vw, 680px);
    overflow: hidden;
    position: relative;
}

.blog-detail-cover__visual > span {
    bottom: 3rem;
    color: var(--dralogy-white);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 800;
    left: 3rem;
    letter-spacing: -0.06em;
    line-height: 1;
    position: absolute;
    z-index: 1;
}

.blog-detail-cover__visual i {
    border: 1px solid var(--dralogy-gold);
    height: 520px;
    position: absolute;
    right: -60px;
    top: 80px;
    transform: rotate(45deg);
    width: 520px;
}

.blog-article {
    padding-bottom: 8rem;
}

.blog-article-content {
    color: #2f2f2f;
    font-size: 1.08rem;
    line-height: 2;
}

.blog-article-content .article-lead {
    color: var(--dralogy-black);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.75;
}

.blog-article-content h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    margin: 4rem 0 1.5rem;
}

.blog-article-content p {
    margin-bottom: 1.6rem;
}

.blog-article-content blockquote {
    border-left: 4px solid var(--dralogy-gold);
    color: var(--dralogy-black);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.6;
    margin: 3rem 0;
    padding: 1rem 0 1rem 2rem;
}

.blog-article-content ul {
    margin: 2rem 0;
    padding-left: 0;
}

.blog-article-content li {
    border-top: 1px solid var(--dralogy-border);
    list-style: none;
    padding: 1rem 0 1rem 2rem;
    position: relative;
}

.blog-article-content li::before {
    color: var(--dralogy-gold-dark);
    content: "+";
    font-weight: 800;
    left: 0;
    position: absolute;
}

.blog-related h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
}

.blog-detail-cta {
    padding: 7rem 0;
}

.blog-detail-cta h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
    margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
    .blog-index-card:hover {
        transform: translateY(-6px);
    }

    .blog-index-card:hover .blog-index-card__visual {
        box-shadow: 0 24px 50px rgba(17, 17, 17, 0.14);
        transform: scale(1.01);
    }
}

@media (max-width: 991.98px) {
    .blog-index-hero,
    .blog-category-hero,
    .blog-detail-hero {
        padding: 6rem 0 5rem;
    }

    .blog-featured-visual,
    .blog-featured-content {
        min-height: 480px;
    }

    .blog-detail-meta {
        gap: 2rem;
    }
}

@media (max-width: 767.98px) {
    .blog-index-hero h1,
    .blog-category-hero h1,
    .blog-detail-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .blog-category-nav {
        position: static;
    }

    .blog-featured {
        padding-top: 4rem;
    }

    .blog-featured-visual {
        min-height: 380px;
    }

    .blog-featured-content {
        min-height: 480px;
        padding: 2rem;
    }

    .blog-latest,
    .blog-related {
        padding: 4rem 0 6rem;
    }

    .blog-detail-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .blog-detail-cover {
        padding-bottom: 5rem;
    }

    .blog-detail-cover__visual {
        height: 430px;
    }

    .blog-detail-cover__visual > span {
        bottom: 2rem;
        left: 1.5rem;
    }

    .blog-article {
        padding-bottom: 6rem;
    }

    .blog-detail-cta {
        padding: 5rem 0;
    }
}

/* Portfolio */
.portfolio-index-hero,
.portfolio-detail-hero {
    padding: 8rem 0 7rem;
}

.portfolio-index-hero h1,
.portfolio-detail-hero h1 {
    font-size: clamp(3.5rem, 7vw, 7.4rem);
}

.portfolio-index-hero h1 span {
    color: var(--dralogy-gold);
}

.portfolio-index-content {
    background: var(--dralogy-surface);
    padding: 7rem 0;
}

.portfolio-index-intro {
    align-items: center;
    border-bottom: 1px solid var(--dralogy-border);
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding-bottom: 1.5rem;
}

.portfolio-index-intro > span {
    color: var(--dralogy-gold-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.portfolio-index-intro p {
    color: var(--dralogy-muted);
    margin: 0;
    max-width: 600px;
}

.portfolio-card {
    height: 100%;
    transition: transform 0.25s;
}

.portfolio-card__visual {
    background: var(--dralogy-black);
    display: block;
    height: 440px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: box-shadow 0.25s, transform 0.25s;
}

.portfolio-card__visual img,
.portfolio-detail-cover__visual img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.portfolio-card__visual > span {
    color: #292929;
    font-size: clamp(5rem, 10vw, 9rem);
    font-weight: 800;
    left: 2rem;
    letter-spacing: -0.07em;
    line-height: 1;
    position: absolute;
    top: 2rem;
}

.portfolio-card__visual > strong {
    bottom: 2rem;
    color: var(--dralogy-white);
    font-size: 1rem;
    left: 2rem;
    letter-spacing: 0.04em;
    position: absolute;
    text-transform: uppercase;
    z-index: 1;
}

.portfolio-card__visual i {
    border: 1px solid var(--dralogy-gold);
    height: 320px;
    position: absolute;
    right: -35px;
    top: 60px;
    transform: rotate(45deg);
    width: 320px;
}

.portfolio-card__meta {
    align-items: center;
    display: flex;
    font-size: 0.62rem;
    font-weight: 800;
    justify-content: space-between;
    letter-spacing: 0.08em;
    margin-top: 1.5rem;
    text-transform: uppercase;
}

.portfolio-card__meta > span {
    color: var(--dralogy-gold-dark);
}

.portfolio-card__meta small {
    color: var(--dralogy-muted);
    font-size: inherit;
    font-weight: inherit;
}

.portfolio-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin: 1rem 0;
}

.portfolio-card h2 a {
    text-decoration: none;
}

.portfolio-card__modules {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-card__modules span {
    border: 1px solid var(--dralogy-border);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.45rem 0.65rem;
    text-transform: uppercase;
}

.portfolio-detail-link {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-top: 1.5rem;
    text-decoration: none;
}

.portfolio-detail-link span {
    color: var(--dralogy-gold-dark);
    margin-left: 0.4rem;
}

.portfolio-index-cta,
.portfolio-detail-cta {
    padding: 7rem 0;
}

.portfolio-index-cta h2,
.portfolio-detail-cta h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
    margin-bottom: 0;
}

.portfolio-status {
    background: var(--dralogy-gold);
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    padding: 0.6rem 0.9rem;
    text-transform: uppercase;
}

.portfolio-detail-facts {
    border-left: 3px solid var(--dralogy-gold);
    display: grid;
    gap: 1.5rem;
    padding-left: 1.5rem;
}

.portfolio-detail-facts small,
.portfolio-detail-facts strong {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.portfolio-detail-facts small {
    color: var(--dralogy-muted);
    margin-bottom: 0.25rem;
}

.portfolio-detail-cover {
    padding-bottom: 8rem;
}

.portfolio-detail-cover__visual {
    background: var(--dralogy-black);
    height: min(63vw, 720px);
    overflow: hidden;
    position: relative;
}

.portfolio-detail-cover__visual > span {
    bottom: 4rem;
    color: var(--dralogy-white);
    font-size: clamp(3.5rem, 9vw, 9rem);
    font-weight: 800;
    left: 3rem;
    letter-spacing: -0.07em;
    line-height: 0.9;
    max-width: 80%;
    position: absolute;
    z-index: 1;
}

.portfolio-detail-cover__visual > small {
    color: var(--dralogy-gold);
    font-size: 0.65rem;
    font-weight: 800;
    left: 3.5rem;
    letter-spacing: 0.12em;
    position: absolute;
    text-transform: uppercase;
    top: 3.5rem;
    z-index: 1;
}

.portfolio-detail-cover__visual i {
    border: 1px solid var(--dralogy-gold);
    height: 560px;
    position: absolute;
    right: -80px;
    top: 80px;
    transform: rotate(45deg);
    width: 560px;
}

.portfolio-overview,
.portfolio-modules,
.portfolio-related {
    padding: 8rem 0;
}

.portfolio-overview {
    border-top: 1px solid var(--dralogy-border);
}

.portfolio-overview h2,
.portfolio-modules h2,
.portfolio-related h2 {
    font-size: clamp(2.7rem, 5vw, 5rem);
}

.portfolio-overview p {
    color: var(--dralogy-muted);
    font-size: 1.15rem;
    line-height: 2;
    max-width: 820px;
}

.portfolio-module-list {
    border-top: 1px solid var(--dralogy-border);
}

.portfolio-module-list article {
    align-items: center;
    border-bottom: 1px solid var(--dralogy-border);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 48px 1fr;
    padding: 1.75rem 0;
}

.portfolio-module-list span {
    color: var(--dralogy-gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
}

.portfolio-module-list h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

@media (hover: hover) and (pointer: fine) {
    .portfolio-card:hover {
        transform: translateY(-6px);
    }

    .portfolio-card:hover .portfolio-card__visual {
        box-shadow: 0 28px 60px rgba(17, 17, 17, 0.18);
        transform: scale(1.01);
    }
}

@media (max-width: 991.98px) {
    .portfolio-index-hero,
    .portfolio-detail-hero {
        padding: 6rem 0 5rem;
    }

    .portfolio-card__visual {
        height: 380px;
    }

    .portfolio-overview,
    .portfolio-modules,
    .portfolio-related {
        padding: 6rem 0;
    }
}

@media (max-width: 767.98px) {
    .portfolio-index-hero h1,
    .portfolio-detail-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .portfolio-index-content {
        padding: 5rem 0;
    }

    .portfolio-index-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .portfolio-card__visual {
        height: 340px;
    }

    .portfolio-index-cta,
    .portfolio-detail-cta {
        padding: 5rem 0;
    }

    .portfolio-detail-cover {
        padding-bottom: 5rem;
    }

    .portfolio-detail-cover__visual {
        height: 480px;
    }

    .portfolio-detail-cover__visual > span {
        bottom: 2rem;
        left: 1.5rem;
        max-width: 90%;
    }

    .portfolio-detail-cover__visual > small {
        left: 1.5rem;
        top: 2rem;
    }
}

/* Contact */
.contact-hero {
    padding: 8rem 0 7rem;
}

.contact-hero h1 {
    font-size: clamp(3.5rem, 7vw, 7.4rem);
}

.contact-hero h1 span {
    color: var(--dralogy-gold);
}

.contact-form-section {
    background: var(--dralogy-surface);
    border-top: 1px solid var(--dralogy-border);
    padding: 8rem 0;
}

.contact-sidebar {
    position: sticky;
    top: 130px;
}

.contact-sidebar h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.contact-sidebar > p {
    color: var(--dralogy-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin: 1.25rem 0 0;
}

.contact-steps {
    border-top: 1px solid var(--dralogy-border);
    margin-top: 3rem;
}

.contact-steps > div {
    align-items: flex-start;
    border-bottom: 1px solid var(--dralogy-border);
    display: grid;
    gap: 1rem;
    grid-template-columns: 32px 1fr;
    padding: 1.25rem 0;
}

.contact-steps span,
.contact-form-heading > span {
    color: var(--dralogy-gold-dark);
    font-size: 0.68rem;
    font-weight: 800;
}

.contact-steps p {
    color: var(--dralogy-muted);
    font-size: 0.94rem;
    margin: 0;
}

.contact-whatsapp-link {
    align-items: center;
    border: 1px solid var(--dralogy-black);
    color: var(--dralogy-black);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 0.5rem;
    justify-content: center;
    letter-spacing: 0.06em;
    margin-top: 2rem;
    padding: 0.95rem 1.2rem;
    text-transform: uppercase;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.contact-whatsapp-link:hover {
    background: var(--dralogy-black);
    border-color: var(--dralogy-black);
    color: var(--dralogy-white);
}

.contact-error-summary {
    background: #fff5f4;
    border-left: 4px solid #b42318;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
}

.contact-error-summary strong {
    color: #8f1f15;
    display: block;
    font-size: 0.85rem;
}

.contact-error-summary p {
    color: #8f1f15;
    font-size: 0.8rem;
    margin: 0.25rem 0 0;
}

.contact-form {
    background: var(--dralogy-white);
    border: 1px solid var(--dralogy-border);
    padding: 3rem;
}

.contact-form-group + .contact-form-group {
    border-top: 1px solid var(--dralogy-border);
    margin-top: 4rem;
    padding-top: 4rem;
}

.contact-form-heading {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 36px 1fr;
    margin-bottom: 2.5rem;
}

.contact-form-heading small {
    color: var(--dralogy-gold-dark);
    display: block;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.contact-form-heading h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    margin: 0;
}

.contact-form label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
}

.contact-form label sup {
    color: var(--dralogy-gold-dark);
    font-size: 0.8rem;
}

.contact-form .form-control,
.contact-form .form-select {
    background-color: var(--dralogy-white);
    border: 1px solid #d9d9d3;
    border-radius: 0;
    color: var(--dralogy-black);
    min-height: 52px;
    padding: 0.95rem 1rem;
}

.contact-form textarea.form-control {
    min-height: auto;
    resize: vertical;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--dralogy-gold);
    box-shadow: 0 0 0 0.2rem rgba(217, 165, 20, 0.14);
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
    border-color: #b42318;
}

.contact-form .invalid-feedback,
.contact-field-error {
    color: #b42318;
    font-size: 0.82rem;
    margin-top: 0.4rem;
}

.contact-section-note {
    color: var(--dralogy-muted);
    font-size: 0.96rem;
    line-height: 1.7;
    margin: -1rem 0 1.35rem;
}

.contact-need-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-check-option {
    cursor: pointer;
    margin: 0 !important;
    position: relative;
}

.contact-check-option input {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.contact-check-option > span {
    align-items: center;
    border: 1px solid var(--dralogy-border);
    display: flex;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    min-height: 58px;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    position: relative;
    text-transform: none;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.contact-check-option > span::before {
    border: 1px solid #c8c8c0;
    content: "";
    height: 18px;
    left: 1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
}

.contact-check-option input:checked + span {
    background: var(--dralogy-black);
    border-color: var(--dralogy-black);
    color: var(--dralogy-white);
}

.contact-check-option input:checked + span::before {
    background: var(--dralogy-gold);
    border-color: var(--dralogy-gold);
    box-shadow: inset 0 0 0 4px var(--dralogy-black);
}

.contact-check-option input:focus-visible + span {
    box-shadow: 0 0 0 0.2rem rgba(217, 165, 20, 0.25);
}

.contact-advanced-modules {
    border-top: 1px solid var(--dralogy-border);
    margin-top: 2rem;
    padding-top: 1rem;
}

.contact-advanced-modules summary {
    align-items: center;
    color: var(--dralogy-black);
    cursor: pointer;
    display: flex;
    font-size: 0.85rem;
    font-weight: 800;
    justify-content: space-between;
    letter-spacing: 0.06em;
    list-style: none;
    padding: 1rem 0;
    text-transform: uppercase;
}

.contact-advanced-modules summary::-webkit-details-marker {
    display: none;
}

.contact-advanced-modules summary::after {
    color: var(--dralogy-gold-dark);
    content: "+";
    font-size: 1.4rem;
    line-height: 1;
}

.contact-advanced-modules[open] summary::after {
    content: "-";
}

.contact-module-groups {
    display: grid;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-module-groups fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.contact-module-groups legend {
    border-bottom: 1px solid var(--dralogy-border);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    text-transform: uppercase;
}

.contact-module-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-module-option {
    cursor: pointer;
    margin: 0 !important;
    position: relative;
}

.contact-module-option input {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.contact-module-option > span {
    align-items: center;
    border: 1px solid var(--dralogy-border);
    display: flex;
    font-size: 0.82rem;
    gap: 0.75rem;
    min-height: 54px;
    padding: 0.7rem;
    text-transform: none;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.contact-module-option strong {
    align-items: center;
    background: var(--dralogy-surface);
    display: flex;
    flex: none;
    font-size: 0.9rem;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.contact-module-option input:checked + span {
    background: var(--dralogy-black);
    border-color: var(--dralogy-black);
    color: var(--dralogy-white);
}

.contact-module-option input:checked + span strong {
    background: var(--dralogy-gold);
    color: var(--dralogy-black);
}

.contact-module-option input:focus-visible + span {
    box-shadow: 0 0 0 0.2rem rgba(217, 165, 20, 0.25);
}

.contact-submit {
    align-items: flex-start;
    border-top: 1px solid var(--dralogy-border);
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
}

.contact-submit p {
    color: var(--dralogy-muted);
    font-size: 0.86rem;
    line-height: 1.65;
    margin: 0;
    max-width: 390px;
}

.contact-submit p + p {
    margin-top: 0.55rem;
}

.contact-submit-actions {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-submit-actions .btn {
    min-height: 52px;
    width: 100%;
}

@media (max-width: 991.98px) {
    .contact-hero {
        padding: 6rem 0 5rem;
    }

    .contact-form-section {
        padding: 6rem 0;
    }

    .contact-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .contact-hero h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .contact-form-section {
        padding: 5rem 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-form-group + .contact-form-group {
        margin-top: 3rem;
        padding-top: 3rem;
    }

    .contact-module-grid {
        grid-template-columns: 1fr;
    }

    .contact-need-grid {
        grid-template-columns: 1fr;
    }

    .contact-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-submit-actions {
        width: 100%;
    }

    .contact-whatsapp-link {
        width: 100%;
    }
}

/* Responsive refinement */
:root {
    --section-space: clamp(5rem, 8vw, 8rem);
    --section-space-compact: clamp(4rem, 6vw, 6rem);
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

main,
section,
footer {
    max-width: 100%;
}

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

h1,
h2,
h3,
p,
a,
span {
    overflow-wrap: break-word;
}

.content-section,
.module-detail-intro,
.module-detail-features,
.module-suitable-section,
.related-modules,
.package-process,
.contact-form-section,
.blog-article {
    padding-block: var(--section-space);
}

.module-index-cta,
.module-detail-cta,
.package-index-cta,
.blog-detail-cta,
.final-cta {
    padding-block: var(--section-space-compact);
}

.navbar-toggler {
    border: 1px solid var(--dralogy-border);
    border-radius: 0;
    box-shadow: none !important;
    height: 44px;
    padding: 0.55rem;
    width: 48px;
}

.navbar-toggler-icon {
    height: 1.15em;
    width: 1.15em;
}

.system-visual,
.dashboard-window {
    max-width: 100%;
}

.home-hero {
    min-height: auto;
    padding: 8rem 0 7rem;
}

.home-hero h1,
.module-index-hero h1,
.module-detail-hero h1,
.industry-index-hero h1,
.industry-detail-hero h1,
.package-index-hero h1,
.portfolio-index-hero h1,
.portfolio-detail-hero h1,
.blog-index-hero h1,
.blog-category-hero h1,
.blog-detail-hero h1,
.contact-hero h1 {
    font-size: clamp(3.25rem, 5.4vw, 5.8rem);
    text-wrap: balance;
}

.home-hero h1 {
    font-size: clamp(3.1rem, 4.8vw, 5.2rem);
}

h2,
.content-section h2,
.module-catalog-section h2,
.module-index-cta h2,
.module-detail-cta h2,
.package-process h2,
.package-index-cta h2,
.blog-related h2,
.blog-detail-cta h2,
.final-cta h2,
.portfolio-overview h2,
.portfolio-modules h2,
.portfolio-related h2 {
    font-size: clamp(2.3rem, 4vw, 4.2rem);
}

.hero-copy,
.lead-copy,
.heading-copy {
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
}

.module-catalog-section .row.g-3 > [class*="col-"],
.blog-latest .row > [class*="col-"],
.blog-related .row > [class*="col-"] {
    display: flex;
}

.erp-module-card,
.blog-index-card {
    height: 100%;
    width: 100%;
}

.erp-module-card > div:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.erp-module-card p {
    margin-bottom: 1.5rem;
}

.erp-package-card h2 {
    text-wrap: balance;
}

.erp-package-description {
    min-height: 5.4em;
}

.erp-package-modules a {
    overflow-wrap: anywhere;
}

.blog-index-card {
    display: flex;
    flex-direction: column;
}

.blog-card .blog-visual {
    display: block;
}

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

.blog-meta a {
    color: var(--dralogy-gold-dark);
    text-decoration: none;
}

.industry-card h3 a {
    text-decoration: none;
}

.blog-index-card__visual {
    aspect-ratio: 16 / 10;
    height: auto;
    width: 100%;
}

.blog-index-card > p {
    margin-bottom: 1.25rem;
}

.blog-index-card .blog-read-link {
    margin-top: auto;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    max-width: 100%;
}

.site-footer {
    padding: clamp(3.5rem, 6vw, 5.5rem) 0 1.5rem;
}

.footer-tagline {
    color: var(--dralogy-muted);
    margin: 1rem 0 0;
    max-width: 360px;
}

.footer-nav {
    display: grid;
    gap: 0.7rem 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-nav a,
.footer-contact {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-nav a:hover,
.footer-contact:hover {
    color: var(--dralogy-gold-dark);
}

.footer-contact {
    border-bottom: 1px solid var(--dralogy-black);
    display: inline-block;
    padding-bottom: 0.35rem;
}

.footer-contact span {
    color: var(--dralogy-gold-dark);
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid var(--dralogy-border);
    display: flex;
    justify-content: space-between;
    margin-top: 3.5rem;
    padding-top: 1.5rem;
}

.footer-bottom p {
    color: var(--dralogy-muted);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    margin: 0;
    text-transform: uppercase;
}

@media (min-width: 1200px) {
    .home-hero .row {
        min-height: 650px;
    }

    .system-visual {
        margin-left: auto;
        max-width: 660px;
    }

    .erp-module-card {
        min-height: 410px;
    }

    .erp-package-card:not(.erp-package-card--featured) {
        min-height: 700px;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-top: 72px;
    }

    .navbar {
        min-height: 72px;
    }

    .navbar-collapse {
        background: var(--dralogy-white);
        border-top: 1px solid var(--dralogy-border);
        margin-left: calc(var(--bs-gutter-x) * -0.5);
        margin-right: calc(var(--bs-gutter-x) * -0.5);
        margin-top: 0.85rem;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        padding: 0.5rem calc(var(--bs-gutter-x) * 0.5) 1.25rem;
    }

    .navbar-nav {
        gap: 0;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid var(--dralogy-border);
    }

    .navbar-nav .nav-link {
        padding: 0.95rem 0 !important;
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: 0;
        padding-top: 0.75rem;
    }

    .navbar-nav .btn-brand {
        margin: 0;
        padding-block: 0.9rem;
    }

    .home-hero {
        min-height: auto;
        padding: 5rem 0;
    }

    .home-hero h1 {
        font-size: clamp(3.2rem, 9vw, 5.4rem);
        max-width: 780px;
    }

    .system-visual {
        margin: 1.5rem auto 0;
        max-width: 680px;
    }

    .erp-package-description {
        min-height: 0;
    }

    .blog-featured-visual {
        min-height: 440px;
    }

    .blog-featured-content {
        min-height: auto;
    }

    .contact-form {
        padding: clamp(1.75rem, 5vw, 3rem);
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-space: 4.75rem;
        --section-space-compact: 4.25rem;
    }

    .container {
        --bs-gutter-x: 2rem;
    }

    h1,
    .home-hero h1,
    .module-index-hero h1,
    .module-detail-hero h1,
    .industry-index-hero h1,
    .industry-detail-hero h1,
    .package-index-hero h1,
    .portfolio-index-hero h1,
    .portfolio-detail-hero h1,
    .blog-index-hero h1,
    .blog-category-hero h1,
    .blog-detail-hero h1,
    .contact-hero h1 {
        font-size: clamp(2.65rem, 12.5vw, 4.15rem);
        letter-spacing: -0.055em;
        line-height: 1.02;
    }

    h2,
    .content-section h2,
    .module-catalog-section h2,
    .module-index-cta h2,
    .module-detail-cta h2,
    .package-process h2,
    .package-index-cta h2,
    .blog-related h2,
    .blog-detail-cta h2,
    .final-cta h2 {
        font-size: clamp(2.1rem, 9.5vw, 3.25rem);
        letter-spacing: -0.045em;
        line-height: 1.08;
    }

    .section-kicker {
        font-size: 0.66rem;
        letter-spacing: 0.14em;
        margin-bottom: 1rem;
    }

    .section-heading {
        gap: 1.5rem;
        margin-bottom: 2.75rem;
    }

    .home-hero {
        padding: 4rem 0 3.5rem;
    }

    .home-hero .row {
        --bs-gutter-y: 2.5rem;
    }

    .home-hero .hero-copy {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .home-hero .btn-lg {
        padding: 0.95rem 1.1rem;
        width: 100%;
    }

    .hero-proof {
        display: grid;
        gap: 0.9rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 2.25rem;
    }

    .hero-proof div {
        align-items: flex-start;
    }

    .system-visual {
        min-height: 390px;
        width: 100%;
    }

    .dashboard-window {
        left: 0;
        transform: translateY(-50%);
        width: 100%;
    }

    .motion-ready .dashboard-window,
    .motion-ready .hero-visible .dashboard-window {
        transform: translateY(-50%);
    }

    .portal-one {
        height: min(68vw, 260px);
        right: 14%;
        top: 70px;
        width: min(68vw, 260px);
    }

    .portal-two {
        height: min(48vw, 185px);
        right: 23%;
        top: 108px;
        width: min(48vw, 185px);
    }

    .floating-module {
        white-space: nowrap;
    }

    .module-1 { left: 0; top: 14px; }
    .module-2 { right: 0; top: 35px; }
    .module-3 { left: 0; top: 155px; }
    .module-4 { right: 0; top: 170px; }
    .module-5 { bottom: 44px; left: 0; }
    .module-6 { bottom: 65px; right: 0; }
    .module-7 { bottom: 0; left: 18%; }
    .module-8 { bottom: 0; right: 8%; }

    .erp-module-card {
        min-height: 0;
        padding: 1.5rem;
    }

    .erp-module-card__top {
        margin-bottom: 2.75rem;
    }

    .erp-module-card__footer {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .erp-package-card,
    .erp-package-card--featured {
        padding: 1.5rem;
    }

    .erp-package-card__header {
        margin-bottom: 2rem;
    }

    .erp-package-card h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .erp-package-price {
        margin-block: 2rem;
    }

    .blog-featured {
        padding-top: 3.5rem;
    }

    .blog-featured-visual {
        min-height: 290px;
    }

    .blog-featured-visual > span {
        font-size: 5.5rem;
    }

    .blog-featured-visual i {
        height: 250px;
        right: -55px;
        top: 25px;
        width: 250px;
    }

    .blog-featured-content {
        min-height: 0;
        padding: 1.5rem;
    }

    .blog-featured-content > small,
    .blog-featured-content .blog-read-link {
        margin-top: 1.5rem;
    }

    .blog-featured-content h2 {
        font-size: clamp(1.8rem, 8.5vw, 2.6rem);
    }

    .blog-index-card__visual {
        min-height: 220px;
    }

    .blog-index-card__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .blog-detail-cover__visual {
        height: min(112vw, 430px);
    }

    .contact-form-section {
        padding-block: var(--section-space);
    }

    .contact-sidebar {
        margin-bottom: 0.5rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .contact-form-heading {
        gap: 0.75rem;
        grid-template-columns: 28px minmax(0, 1fr);
        margin-bottom: 2rem;
    }

    .contact-form-heading h2 {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .contact-form .form-control,
    .contact-form .form-select {
        font-size: 1rem;
        min-height: 54px;
    }

    .contact-module-option > span {
        min-height: 58px;
    }

    .contact-submit {
        gap: 1.25rem;
        margin-top: 3rem;
    }

    .site-footer {
        padding-top: 3.5rem;
    }

    .footer-nav {
        margin-top: 0.5rem;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 2.5rem;
    }
}

@media (max-width: 420px) {
    .home-hero h1,
    h1 {
        font-size: clamp(2.45rem, 12vw, 3.2rem);
    }

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

    .system-visual {
        min-height: 350px;
    }

    .dashboard-sidebar {
        display: none;
    }

    .dashboard-content {
        width: 100%;
    }

    .floating-module {
        font-size: 0.48rem;
        padding: 6px 7px;
    }

    .module-3,
    .module-4 {
        top: 145px;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
    }
}

/* About */
.about-hero {
    background:
        linear-gradient(135deg, rgba(217, 165, 20, 0.12), transparent 34%),
        linear-gradient(180deg, var(--dralogy-white) 0%, var(--dralogy-surface) 100%);
    padding: clamp(5rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
}

.about-hero h1 {
    font-size: clamp(3rem, 6.4vw, 6.7rem);
    max-width: 1080px;
}

.about-hero-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    margin-top: clamp(3rem, 6vw, 5.5rem);
}

.about-hero-grid span,
.about-industry-grid span,
.about-values span,
.about-problem-list span {
    background: var(--dralogy-white);
    border: 1px solid var(--dralogy-border);
    color: var(--dralogy-black);
    display: flex;
    font-size: 0.78rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.08em;
    min-height: 82px;
    padding: 1rem;
    text-align: center;
    text-transform: uppercase;
}

.about-section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.about-section h2 {
    font-size: clamp(2.4rem, 4.8vw, 5.1rem);
}

.about-lead {
    color: var(--dralogy-black);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.55;
}

.about-section p,
.about-section li {
    color: var(--dralogy-muted);
}

.section-dark .about-lead {
    color: var(--dralogy-white);
}

.section-dark .about-section p,
.section-dark p,
.section-dark li {
    color: #cfcfcf;
}

.about-reason-grid,
.about-build-grid,
.about-stage-grid,
.about-choice-grid,
.about-industry-grid,
.about-values {
    display: grid;
    gap: 1rem;
}

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

.about-reason-grid article,
.about-build-card,
.about-stage-grid article,
.about-choice-grid article,
.about-vision-grid article {
    background: var(--dralogy-white);
    border: 1px solid var(--dralogy-border);
    padding: clamp(1.35rem, 2.5vw, 2rem);
}

.about-reason-grid article > span,
.about-build-card > span,
.about-process article > span,
.about-stage-grid small {
    color: var(--dralogy-gold-dark);
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 1.25rem;
}

.about-reason-grid h3,
.about-build-card h3,
.about-stage-grid h3,
.about-choice-grid h3,
.about-process h3 {
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

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

.about-build-card {
    min-height: 260px;
}

.about-build-card--wide {
    grid-column: span 3;
    min-height: 0;
}

.about-problem-list {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-problem-list span,
.about-values span {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--dralogy-white);
    justify-content: flex-start;
    min-height: 70px;
}

.about-before-after {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-before-after article {
    border: 1px solid var(--dralogy-border);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.about-before-after article:last-child {
    background: var(--dralogy-black);
    border-color: var(--dralogy-black);
    color: var(--dralogy-white);
}

.about-before-after span {
    color: var(--dralogy-gold-dark);
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    margin-bottom: 1.5rem;
}

.about-before-after ul,
.about-vision-grid ul {
    display: grid;
    gap: 0.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-before-after li,
.about-vision-grid li {
    border-bottom: 1px solid var(--dralogy-border);
    padding-bottom: 0.9rem;
}

.about-before-after article:last-child li {
    border-color: rgba(255, 255, 255, 0.16);
    color: #e6e6e6;
}

.about-process {
    border-top: 1px solid var(--dralogy-border);
}

.about-process article {
    align-items: start;
    border-bottom: 1px solid var(--dralogy-border);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 90px minmax(0, 1fr);
    padding: 1.4rem 0;
}

.about-process article > span {
    margin-bottom: 0;
}

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

.about-stage-grid article {
    background: linear-gradient(180deg, var(--dralogy-white), var(--dralogy-surface));
    min-height: 250px;
}

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

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

.about-industry-grid span {
    min-height: 74px;
}

.about-vision-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.15fr 0.85fr;
}

.about-vision-grid h2 {
    font-size: clamp(2rem, 3.8vw, 4.1rem);
}

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

.about-choice-grid article {
    min-height: 260px;
}

.about-faq {
    border-top: 1px solid var(--dralogy-border);
}

.about-faq details {
    border-bottom: 1px solid var(--dralogy-border);
    padding: 1.35rem 0;
}

.about-faq summary {
    cursor: pointer;
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-faq p {
    margin: 1rem 0 0;
}

.about-final-cta {
    background: var(--dralogy-black);
    color: var(--dralogy-white);
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.about-final-cta h2 {
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
}

@media (max-width: 1199px) {
    .about-hero-grid,
    .about-industry-grid,
    .about-choice-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .about-build-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .about-hero-grid,
    .about-reason-grid,
    .about-build-grid,
    .about-problem-list,
    .about-before-after,
    .about-stage-grid,
    .about-values,
    .about-industry-grid,
    .about-vision-grid,
    .about-choice-grid {
        grid-template-columns: 1fr;
    }

    .about-build-card,
    .about-stage-grid article,
    .about-choice-grid article {
        min-height: 0;
    }

    .about-build-card--wide {
        grid-column: auto;
    }

    .about-process article {
        gap: 0.5rem;
        grid-template-columns: 1fr;
    }
}
