/* KASLER Construction Technology — /epitoipar */
html:has(.ct-page) {
    scroll-padding-top: calc(var(--ct-header, 70px) + 58px);
}

.ct-page {
    --ct-header: 70px;
    background: #e7e4de;
    color: #1c242c;
    overflow-x: clip;
    padding-top: var(--ct-header);
}

.ct-skip {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    z-index: 2000;
    padding: 0.6rem 0.9rem;
    background: #111820;
    color: #fff;
    border-radius: 8px;
    transform: translateY(-160%);
}

.ct-skip:focus {
    transform: none;
}

.ct-page :focus-visible {
    outline: 2px solid #e8a83a;
    outline-offset: 3px;
}

.ct-wrap {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.ct-subnav {
    position: sticky;
    top: var(--ct-header, 70px);
    z-index: 900;
    background: rgba(231, 228, 222, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(17, 24, 32, 0.08);
}

.ct-subnav-inner {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 0.35rem 1.1rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.ct-subnav-inner::-webkit-scrollbar {
    display: none;
}

.ct-subnav a {
    color: #3e4c56;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 650;
    white-space: nowrap;
    padding: 0.7rem 0;
}

.ct-subnav a:hover {
    color: #111820;
}

.ct-subnav-cta {
    margin-left: auto;
    background: #111820;
    color: #fff !important;
    border-radius: 999px;
    padding: 0.45rem 0.9rem !important;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
}

.ct-subnav-cta:hover {
    background: #243140;
}

.ct-hero-wrap {
    padding: 1.25rem 0 2.5rem;
}

.ct-card {
    position: relative;
    background: #111820;
    color: #f4f6f5;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 50px -28px rgba(17, 24, 32, 0.55);
}

.ct-hero-media {
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 420px;
    background: #1b242e;
}

.ct-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    display: block;
}

.ct-illus {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    margin: 0;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(17, 24, 32, 0.72);
    color: #f4f6f5;
    font-size: 0.75rem;
    letter-spacing: 0.01em;
}

.ct-hero-body {
    padding: 1.7rem 1.7rem 1.45rem;
}

.ct-kicker {
    margin: 0 0 0.7rem;
    color: #e8a83a;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ct-hero-body h1 {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(2rem, 1.15rem + 2.5vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 760;
    color: #fff;
}

.ct-lead {
    margin: 1rem 0 0;
    max-width: 46rem;
    color: #d5dde3;
    font-size: 1.05rem;
}

.ct-tagline {
    margin: 0.85rem 0 0;
    color: #f4f6f5;
    font-size: 1.12rem;
    font-weight: 650;
}

.ct-tagline + .ct-tagline {
    margin-top: 0.25rem;
    font-weight: 500;
    color: #c5ced6;
}

.ct-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.7rem 1.15rem;
    border-radius: 10px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 720;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
}

.ct-btn-amber {
    background: #e8a83a;
    color: #1a1408;
}

.ct-btn-amber:hover {
    background: #f0b85a;
    color: #1a1408;
}

.ct-btn-ghost {
    background: transparent;
    color: #f4f6f5;
    border-color: rgba(244, 246, 245, 0.35);
}

.ct-btn-ghost:hover {
    border-color: #e8a83a;
    color: #fff;
}

.ct-btn-dark {
    background: #111820;
    color: #fff;
}

.ct-btn-dark:hover {
    background: #243140;
    color: #fff;
}

.ct-btn-line {
    background: transparent;
    color: #111820;
    border-color: rgba(17, 24, 32, 0.22);
}

.ct-btn-line:hover {
    border-color: #111820;
    color: #111820;
}

.ct-fine {
    margin: 0.85rem 0 0;
    color: #aab7c2;
    font-size: 0.92rem;
}

.ct-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ct-stat strong {
    display: block;
    color: #e8a83a;
    font-size: clamp(1.55rem, 1rem + 1.6vw, 2.05rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.ct-stat span {
    display: block;
    margin-top: 0.25rem;
    color: #c5ced6;
    font-size: 0.92rem;
}

.ct-down {
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #111820;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(17, 24, 32, 0.16);
    text-decoration: none;
}

.ct-down svg {
    width: 18px;
    height: 18px;
}

.ct-section {
    padding: 4.25rem 0;
}

.ct-section-paper {
    background: #f5f6f4;
}

.ct-section-sand {
    background: #e7e4de;
}

.ct-section h2,
.ct-block h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.7rem, 1.15rem + 1.5vw, 2.45rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #111820;
    max-width: 22ch;
}

.ct-intro {
    margin: 0;
    max-width: 46rem;
    color: #3e4c56;
    font-size: 1.05rem;
}

.ct-section-head {
    margin-bottom: 1.8rem;
}

.ct-grid-2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.ct-questions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-questions li {
    background: #fff;
    border: 1px solid rgba(17, 24, 32, 0.08);
    border-radius: 12px;
    padding: 1rem 1rem 1rem 0.95rem;
}

.ct-questions strong {
    display: block;
    color: #9a6a12;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.ct-questions span {
    color: #1c242c;
}

.ct-note {
    margin: 1rem 0 0;
    color: #3e4c56;
    font-size: 0.98rem;
}

.ct-sol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.ct-sol {
    background: #fff;
    border: 1px solid rgba(17, 24, 32, 0.08);
    border-radius: 12px;
    padding: 0 0 0.85rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.ct-sol-photo {
    margin: 0 0 0.85rem;
    aspect-ratio: 4 / 3;
    background: #1b242e;
}

.ct-sol-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ct-sol-top,
.ct-sol > ul,
.ct-sol > details {
    margin-left: 1rem;
    margin-right: 1rem;
}

.ct-sol-top {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.55rem;
}

.ct-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    color: #9a6a12;
}

.ct-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.ct-sol h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.ct-no {
    display: block;
    color: #9a6a12;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    font-weight: 750;
    margin-bottom: 0.15rem;
}

.ct-sol p,
.ct-sol li {
    color: #3e4c56;
    font-size: 0.94rem;
}

.ct-sol ul {
    margin: 0.35rem 0 0.6rem;
    padding-left: 1.05rem;
}

.ct-sol li + li {
    margin-top: 0.25rem;
}

.ct-sol details {
    margin-top: auto;
    border-top: 1px solid rgba(17, 24, 32, 0.08);
    padding-top: 0.45rem;
}

.ct-sol summary,
.ct-faq summary,
.ct-form details summary {
    cursor: pointer;
    font-weight: 700;
    color: #111820;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.ct-sol summary {
    font-size: 0.9rem;
    color: #9a6a12;
}

.ct-value {
    margin: 0.4rem 0 0;
    color: #1c242c !important;
}

.ct-disclaimer {
    margin: 0.55rem 0 0.2rem;
    font-size: 0.84rem !important;
    color: #52616b !important;
}

.ct-center-cta {
    margin-top: 1.4rem;
}

.ct-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-step {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 32, 0.08);
    padding: 1rem 0.9rem 1.05rem;
    min-width: 0;
}

.ct-step b {
    display: block;
    color: #e8a83a;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.ct-step strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.ct-step span {
    color: #3e4c56;
    font-size: 0.92rem;
}

.ct-audit-grid,
.ct-split,
.ct-founder,
.ct-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.ct-panel {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 32, 0.08);
    padding: 1.15rem 1.15rem 1.2rem;
}

.ct-panel h3 {
    margin: 0 0 0.7rem;
    font-size: 1.15rem;
}

.ct-panel ol,
.ct-panel ul,
.ct-check {
    margin: 0;
    padding-left: 1.15rem;
    color: #3e4c56;
}

.ct-panel li + li,
.ct-check li + li {
    margin-top: 0.4rem;
}

.ct-price-free {
    margin: 1rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(17, 24, 32, 0.08);
    color: #1c242c;
}

.ct-price-free strong {
    color: #9a6a12;
}

.ct-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    align-items: stretch;
}

.ct-plan {
    background: #fff;
    border: 1px solid rgba(17, 24, 32, 0.08);
    border-radius: 12px;
    padding: 1.05rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ct-plan-rec {
    border-color: #e8a83a;
    box-shadow: inset 0 0 0 1px #e8a83a;
}

.ct-badge {
    display: inline-block;
    margin: 0 0 0.55rem;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    background: rgba(232, 168, 58, 0.18);
    color: #7a5410;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.01em;
}

.ct-plan h3 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.ct-offer {
    margin: 0.45rem 0 0.35rem;
    color: #9a6a12;
    font-weight: 750;
}

.ct-plan .ct-for {
    margin: 0 0 0.7rem;
    color: #3e4c56;
    font-size: 0.92rem;
}

.ct-plan ul {
    margin: 0 0 1rem;
    padding-left: 1.05rem;
    color: #3e4c56;
    font-size: 0.92rem;
}

.ct-plan li + li {
    margin-top: 0.35rem;
}

.ct-plan .ct-btn {
    margin-top: auto;
    width: 100%;
}

.ct-legal {
    margin: 1rem 0 0;
    color: #52616b;
    font-size: 0.88rem;
    max-width: 70rem;
}

.ct-check {
    list-style: none;
    padding: 0;
}

.ct-check li {
    position: relative;
    padding-left: 1.35rem;
}

.ct-check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #e8a83a;
}

.ct-pull {
    margin: 1.2rem 0 0;
    padding: 1rem 1.1rem;
    border-left: 3px solid #e8a83a;
    background: #fff;
    border-radius: 0 12px 12px 0;
    color: #1c242c;
    font-size: 1.05rem;
}

.ct-scenario {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.25rem;
    align-items: start;
}

.ct-demo {
    background: #111820;
    color: #f4f6f5;
    border-radius: 12px;
    padding: 1rem;
}

.ct-demo-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.ct-demo-top p {
    margin: 0;
    color: #aab7c2;
    font-size: 0.85rem;
}

.ct-sample {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #e8a83a;
    color: #1a1408;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ct-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.ct-demo article {
    background: #1b242e;
    border-radius: 10px;
    padding: 0.75rem 0.8rem;
}

.ct-demo h3 {
    margin: 0 0 0.3rem;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e8a83a;
    font-weight: 750;
}

.ct-demo p,
.ct-demo li {
    margin: 0;
    color: #d5dde3;
    font-size: 0.92rem;
}

.ct-demo ul {
    margin: 0;
    padding-left: 1rem;
}

.ct-demo-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 0.75rem;
    align-items: center;
}

.ct-demo-wide img {
    width: 92px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.ct-founder {
    align-items: center;
}

.ct-portrait {
    margin: 0;
}

.ct-portrait img {
    width: min(100%, 380px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    display: block;
    background: #d7d3cc;
}

.ct-portrait figcaption {
    margin-top: 0.55rem;
    color: #3e4c56;
    font-size: 0.92rem;
}

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

.ct-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.ct-table th,
.ct-table td {
    text-align: left;
    padding: 0.8rem 0.9rem;
    border-bottom: 1px solid rgba(17, 24, 32, 0.08);
    vertical-align: top;
}

.ct-table th {
    background: #111820;
    color: #f4f6f5;
    font-weight: 680;
    font-size: 0.88rem;
}

.ct-table td {
    color: #1c242c;
}

.ct-refs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.ct-ref {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 32, 0.08);
    padding: 1rem;
}

.ct-ref h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
}

.ct-ref p {
    margin: 0 0 0.8rem;
    color: #3e4c56;
    font-size: 0.95rem;
}

.ct-ref-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
}

.ct-ref a {
    color: #9a6a12;
    font-weight: 720;
}

.ct-faq details {
    background: #fff;
    border: 1px solid rgba(17, 24, 32, 0.08);
    border-radius: 10px;
    padding: 0.15rem 1rem;
}

.ct-faq details + details {
    margin-top: 0.5rem;
}

.ct-faq summary {
    font-size: 1rem;
}

.ct-faq details p {
    margin: 0 0 0.9rem;
    color: #3e4c56;
}

.ct-contact {
    background: #111820;
    color: #f4f6f5;
    border-radius: 22px;
    padding: 1.5rem;
}

.ct-contact h2 {
    color: #fff;
    max-width: 18ch;
}

.ct-contact .ct-intro,
.ct-contact .ct-person {
    color: #c5ced6;
}

.ct-person {
    margin: 1rem 0 0;
}

.ct-person a {
    color: #f4f6f5;
    font-weight: 700;
}

.ct-channels {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 1rem;
}

.ct-form {
    background: #f5f6f4;
    color: #1c242c;
    border-radius: 14px;
    padding: 1.1rem;
}

.ct-form h3 {
    margin: 0 0 0.8rem;
    font-size: 1.2rem;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.ct-field label,
.ct-checkline {
    font-weight: 680;
    font-size: 0.92rem;
}

.ct-policy {
    background: none;
    border: 0;
    padding: 0;
    color: #9a6a12;
    font: inherit;
    font-weight: 720;
    text-decoration: underline;
    cursor: pointer;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #c5ced6;
    border-radius: 8px;
    padding: 0.6rem 0.7rem;
    font: inherit;
    color: #111820;
    background: #fff;
}

.ct-field textarea {
    min-height: 120px;
    resize: vertical;
}

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.ct-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.8rem;
    margin: 0.2rem 0 0.4rem;
}

.ct-checks label,
.ct-checkline {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-weight: 560;
    min-height: 32px;
}

.ct-checks input,
.ct-checkline input {
    margin-top: 0.2rem;
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
}

.ct-form details {
    margin-bottom: 0.4rem;
}

.ct-status {
    margin: 0 0 0.8rem;
    padding: 0.75rem 0.8rem;
    border-radius: 8px;
    background: #e7f6ea;
    color: #14532d;
}

.ct-status.is-error {
    background: #fde8e8;
    color: #7f1d1d;
}

.ct-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ct-page .footer {
    background: transparent;
}

@media (max-width: 1100px) {
    .ct-sol-grid,
    .ct-plans {
        grid-template-columns: 1fr 1fr;
    }

    .ct-steps {
        grid-template-columns: 1fr 1fr;
    }

    .ct-steps li:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .ct-hero-media {
        max-height: 220px;
    }

    .ct-stats,
    .ct-grid-2,
    .ct-audit-grid,
    .ct-split,
    .ct-founder,
    .ct-contact-grid,
    .ct-scenario,
    .ct-refs,
    .ct-questions {
        grid-template-columns: 1fr;
    }

    .ct-portrait img {
        width: min(100%, 280px);
    }

    .ct-hero-body {
        padding: 1.25rem 1.1rem 1.2rem;
    }

    .ct-subnav-cta {
        margin-left: 0.4rem;
    }
}

@media (max-width: 640px) {
    .ct-sol-grid,
    .ct-plans,
    .ct-steps,
    .ct-row,
    .ct-checks,
    .ct-demo-grid {
        grid-template-columns: 1fr;
    }

    .ct-steps li:last-child,
    .ct-demo-wide {
        grid-column: auto;
    }

    .ct-section {
        padding: 3rem 0;
    }

    .ct-card,
    .ct-contact {
        border-radius: 16px;
    }

    .ct-hero-body h1 {
        max-width: none;
    }
}

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

    .ct-btn,
    .ct-down,
    .ct-subnav a {
        transition: none;
    }
}
