/* ==========================================================================
   CS Development — subpage styles
   Structure follows HVB/website/css/pages.css
   ========================================================================== */

/* Page Header - colour-first, no image (HVB) + the old page icon */
.page-header {
    padding: 70px 0 64px;
    background: var(--gradient-brand);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 12% 95%, rgba(231, 154, 178, 0.35) 0%, transparent 40%),
        radial-gradient(circle at 55% 120%, rgba(255, 255, 255, 0.10) 0%, transparent 50%);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-line);
    opacity: 0.9;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease;
}

.page-icon .icon {
    width: 34px;
    height: 34px;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.9rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--white);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.page-header p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.95;
    max-width: 720px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Readable text column */
.prose {
    max-width: 880px;
    margin: 0 auto;
}

.prose p {
    font-size: 1.12rem;
    color: var(--text-graphite);
    margin-bottom: 20px;
}

.prose h2 {
    font-size: 1.6rem;
    margin: 40px 0 16px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Arrow list (old ul.arrow → HVB check-list) */
.check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.check-list li {
    position: relative;
    padding: 7px 0 7px 36px;
    color: var(--text-graphite);
    font-size: 1.02rem;
    line-height: 1.6;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 7l5 5-5 5'/%3E%3C/svg%3E") center / 16px no-repeat,
        var(--gradient-brand);
}

.check-list--compact li {
    font-size: 0.97rem;
    padding: 5px 0 5px 32px;
}

.check-list--compact li::before {
    top: 7px;
    width: 21px;
    height: 21px;
    background-size: 14px, auto;
}

/* Solutions grid (9 areas) */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 10px;
}

.tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    color: var(--gray-dark);
    transition: var(--transition);
}

.tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(111, 106, 174, 0.35);
}

.tile-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
}

/* Info cards (Solutions technologies, Development practices, Services) */
.cards-2 {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: start;
}

.cards-2--even {
    grid-template-columns: 1fr 1fr;
}

.info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 36px 34px 30px;
    border: 1px solid var(--border);
    box-shadow: 0 5px 15px rgba(37, 43, 102, 0.07);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3a4fa0, #8f7cc0 55%, #e79ab2);
}

.info-card:hover {
    box-shadow: 0 15px 35px rgba(37, 43, 102, 0.12);
}

.info-card h2,
.info-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.info-card h2 .icon,
.info-card h3 .icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.info-card p {
    color: var(--text-graphite);
    margin-bottom: 14px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

/* Development practices: numbered cards */
.practice-card {
    text-align: left;
    padding: 34px 30px 26px;
}

.practice-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    margin-bottom: 18px;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient-brand);
    box-shadow: var(--shadow-brand);
}

.practice-card h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

/* About page */
.highlight-box {
    margin-top: 30px;
    padding: 26px 30px;
    border-radius: 14px;
    background: var(--gradient-brand);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
    box-shadow: var(--shadow-brand);
}

.since-card {
    position: sticky;
    top: calc(var(--header-h) + 30px);
    text-align: center;
    padding: 44px 30px;
    border-radius: 18px;
    background: var(--gradient-soft);
    border: 1px solid var(--border);
}

.since-card .since-year {
    display: block;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.since-card .since-label {
    display: block;
    margin-top: 12px;
    font-size: 1.05rem;
    color: var(--gray-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.since-card img {
    margin-top: 28px;
    width: 180px;
    max-width: 100%;
}

/* Documents list */
.doc-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 24px 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.doc-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.doc-icon {
    flex-shrink: 0;
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-soft);
    color: var(--primary);
}

.doc-icon .icon {
    width: 30px;
    height: 30px;
}

.doc-type {
    position: absolute;
    bottom: -6px;
    right: -6px;
    padding: 1px 6px;
    border-radius: 5px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--white);
    background: var(--rose);
}

.doc-body {
    flex: 1;
    min-width: 0;
}

.doc-title {
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: 4px;
}

.doc-title a {
    color: var(--gray-dark);
    text-decoration: none;
}

.doc-title a:hover {
    color: var(--primary);
}

.doc-meta {
    font-size: 0.88rem;
    color: var(--gray-medium);
}

.doc-item .btn {
    flex-shrink: 0;
    padding: 11px 22px;
}

.doc-note {
    max-width: 900px;
    margin: 0 auto 26px;
    color: var(--gray-medium);
    text-align: center;
}

.data-table caption {
    caption-side: top;
    text-align: left;
    padding: 0 0 10px;
    font-weight: 700;
    color: var(--gray-dark);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 26px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-size: 0.97rem;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 12px 18px;
    border-bottom: 1px solid var(--gray-light);
    vertical-align: top;
}

.data-table th {
    width: 42%;
    font-weight: 600;
    color: var(--gray-medium);
}

.data-table td {
    color: var(--gray-dark);
    font-weight: 600;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
    border-bottom: 0;
}

/* Contact */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 40px 26px 34px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 5px 15px rgba(37, 43, 102, 0.07);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(37, 43, 102, 0.12);
}

.contact-card .value-icon {
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-medium);
    margin-bottom: 10px;
}

.contact-card p,
.contact-card a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-dark);
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-card .map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
}

/* CTA Section — light invitation above the (dark) footer.
   Contact details live in the footer, so they are not repeated here. */
.cta-section {
    padding: 90px 0;
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::before {
    width: 420px;
    height: 420px;
    left: -140px;
    top: -200px;
    background: radial-gradient(circle, rgba(123, 134, 196, 0.25), transparent 70%);
}

.cta-section::after {
    width: 460px;
    height: 460px;
    right: -160px;
    bottom: -240px;
    background: radial-gradient(circle, rgba(231, 154, 178, 0.35), transparent 70%);
}

.cta-card {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 54px 50px;
    text-align: center;
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 50px rgba(111, 106, 174, 0.18);
}

.cta-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--rose);
    background: var(--pink-soft);
}

.cta-card h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--gray-dark);
}

.cta-card p {
    font-size: 1.15rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* 404 */
.error-page {
    min-height: 55vh;
    display: flex;
    align-items: center;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
    letter-spacing: -3px;
}

.error-page h1 {
    font-size: 2rem;
    margin: 14px 0 10px;
}

.error-page p {
    color: var(--gray-medium);
}

.error-page .btn {
    margin: 26px 8px 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-2,
    .cards-2--even,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .since-card {
        position: static;
    }


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

@media (max-width: 768px) {
    .page-header {
        padding: 50px 0 46px;
    }

    .page-header h1 {
        font-size: 2rem;
    }


    .page-header p {
        font-size: 1.05rem;
    }

    .page-icon {
        width: 60px;
        height: 60px;
    }

    .page-icon .icon {
        width: 28px;
        height: 28px;
    }

    .tile-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 28px 22px 24px;
    }

    .prose p {
        font-size: 1.02rem;
    }

    .doc-item {
        flex-wrap: wrap;
    }

    .doc-item .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-card {
        padding: 38px 22px;
    }

    .cta-card h2 {
        font-size: 1.7rem;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .data-table th,
    .data-table td {
        display: block;
        width: 100%;
        padding: 8px 16px;
    }

    .data-table th {
        padding-bottom: 0;
        border-bottom: 0;
    }
}


/* ==========================================================================
   Themed icons, tiles, illustrations
   ========================================================================== */
.value-icon {
    background: var(--gradient-soft);
}

.tile-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient-brand);
    box-shadow: 0 0 0 5px var(--primary-soft);
    transition: transform 0.3s var(--ease-out-back);
}

.tile:hover .tile-dot {
    transform: scale(1.3);
}

.tile-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.subsection-title {
    text-align: center;
    font-size: 1.35rem;
    margin: 60px 0 24px;
}

.doc-icon .ticon {
    width: 30px;
    height: 30px;
}

/* Illustrations */
.content-grid--illus {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
}

.content-grid--rev {
    grid-template-columns: 1fr 1.15fr;
}

.illus-wrap {
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
}

.illus {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    font-family: var(--font-main);
}

.illus-flow {
    animation: illusFlow 1.6s linear infinite;
}

.illus-pulse {
    transform-origin: 210px 95px;
    animation: illusPulse 2s ease-in-out infinite;
}

.illus-wave {
    animation: illusWave 2.4s ease-in-out infinite;
}

.illus-wave.w2 {
    animation-delay: 0.4s;
}

.illus-blink {
    animation: illusBlink 1.1s steps(1) infinite;
}

@keyframes illusFlow { to { stroke-dashoffset: -28; } }
@keyframes illusPulse { 50% { transform: scale(1.35); opacity: 0.6; } }
@keyframes illusWave { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes illusBlink { 50% { opacity: 0; } }

.values-grid--spaced {
    margin-top: 50px;
}

.value-card--left .value-icon {
    margin: 0 0 20px;
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

.value-card--left .value-icon .ticon {
    width: 30px;
    height: 30px;
}

.value-card--left h3 {
    font-size: 1.15rem;
}

.value-card--left p {
    font-size: 0.94rem;
}

/* Technology stack */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stack-card--wide {
    position: relative;
    border-color: rgba(111, 106, 174, 0.3);
    background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient-soft);
}

.stack-card--wide::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
    background: var(--gradient-line);
}

.stack-card {
    position: relative;
}

.stack-note {
    margin-top: 16px;
    font-size: 0.94rem;
    color: var(--gray-medium);
}

.stack-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 26px 22px;
    box-shadow: 0 5px 15px rgba(37, 43, 102, 0.06);
    transition: var(--transition);
}

.stack-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stack-card h3,
.legacy-card h3,
.info-card h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.stack-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-soft);
    flex-shrink: 0;
}

.stack-icon .ticon {
    width: 22px;
    height: 22px;
}

.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--primary-soft);
    border: 1px solid rgba(111, 106, 174, 0.18);
    transition: var(--transition);
}

.chip:hover {
    color: var(--white);
    background: var(--gradient-brand);
    border-color: transparent;
}

.legacy-card {
    margin-top: 28px;
}

.legacy-card h4 {
    font-size: 1rem;
    margin: 18px 0 4px;
}

details > summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

details > summary::-webkit-details-marker {
    display: none;
}

details > summary::before {
    content: '';
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.25s ease;
}

details[open] > summary::before {
    transform: rotate(45deg);
}

.legacy-details {
    margin-top: 6px;
}

/* Process steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 10px;
    counter-reset: step;
}

.process-step {
    position: relative;
    background: var(--white);
    padding: 30px 20px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 54px;
    right: -20px;
    width: 20px;
    height: 2px;
    background: var(--gradient-line);
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient-brand);
    box-shadow: var(--shadow-brand);
}

.process-step h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Development cards: number */
.practice-card .practice-num {
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 10px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    box-shadow: none;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

/* Badges */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--white);
    border: 1px solid rgba(111, 106, 174, 0.25);
}

.badge--done {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1d6b45;
    background: #e6f6ee;
    border-color: #bfe6d1;
}

.badge--done .icon {
    width: 15px;
    height: 15px;
}

/* Home: portfolio teaser */
.project-teaser {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1060px;
    margin: 0 auto;
    padding: 34px;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(37, 43, 102, 0.08);
}

.project-teaser__media img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.project-teaser h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-teaser p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

/* Portfolio page */
.portfolio-grid {
    display: grid;
    gap: 30px;
}

/* Project cards: the picture floats beside the text and the text wraps around it
   (and continues below it). Cards alternate: 1st picture left, 2nd right, ... */
.project-card {
    display: flow-root;
    padding: 40px;
    background: var(--white);
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(37, 43, 102, 0.09);
    scroll-margin-top: calc(var(--header-h) + 20px);
}

.project-card__media {
    float: left;
    width: 44%;
    margin: 4px 40px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.project-card:nth-of-type(even) .project-card__media {
    float: right;
    margin: 4px 0 24px 40px;
}

.project-card__media .illus-wrap {
    max-width: none;
    margin: 0;
}

.project-card .eu-logo {
    background: var(--white);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid var(--border);
}

.project-card .eu-logo img {
    display: block;
    width: 100%;
}

.project-programme {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rose);
    margin-bottom: 4px;
}

.project-card h2 {
    font-size: 1.9rem;
    margin-bottom: 18px;
}

.project-card__body > p {
    margin-bottom: 14px;
}

.eu-end {
    font-weight: 600;
    color: var(--gray-dark);
}

.project-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--gray-medium);
}

.official-text {
    margin-top: 22px;
    padding: 18px 22px;
    border-radius: 14px;
    background: var(--gray-light);
    border: 1px dashed rgba(37, 43, 102, 0.2);
}

.official-text[open] > summary {
    margin-bottom: 12px;
}

.official-text p {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.coming-soon {
    text-align: center;
    padding: 46px 30px;
    border-radius: 22px;
    border: 2px dashed rgba(111, 106, 174, 0.35);
    background: var(--gradient-soft);
}

.coming-soon__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.coming-soon__icon .ticon {
    width: 30px;
    height: 30px;
}

.coming-soon h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.coming-soon p {
    color: var(--gray-medium);
}

/* Contact: 2 cards */
.contact-cards--2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 780px;
}

.contact-note {
    display: block;
    margin-top: 10px;
    font-size: 0.88rem;
    color: var(--gray-medium);
}

@media (max-width: 1100px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-step::after {
        display: none;
    }
}

@media (max-width: 1024px) {
    .tile-grid--4,
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid--illus,
    .content-grid--rev {
        grid-template-columns: 1fr;
    }

    .content-grid--rev .illus-wrap {
        order: 2;
    }

    .project-card {
        padding: 30px;
    }

    .project-card__media,
    .project-card:nth-of-type(even) .project-card__media {
        float: none;
        width: 100%;
        max-width: 460px;
        margin: 0 auto 28px;
    }

    .project-teaser {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-teaser__media {
        max-width: 340px;
    }
}

@media (max-width: 768px) {
    .tile-grid--4,
    .stack-grid,
    .contact-cards--2 {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .project-card {
        padding: 22px;
    }

    .project-card h2 {
        font-size: 1.45rem;
    }

    .project-teaser {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .illus-flow,
    .illus-pulse,
    .illus-wave,
    .illus-blink {
        animation: none;
    }
}


/* ==========================================================================
   Showcase window — the hero-slider idea in an app window:
   3 dots, counter, timer, arrows, dots, texts sliding in, flow steps joined by
   animated connector lines (js/showcase.js)
   ========================================================================== */
.section-ai {
    position: relative;
    overflow: hidden;
}

.section-ai::before,
.section-ai::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.section-ai::before {
    width: 520px;
    height: 520px;
    left: -220px;
    top: 40px;
    background: radial-gradient(circle, rgba(123, 134, 196, 0.16), transparent 70%);
}

.section-ai::after {
    width: 560px;
    height: 560px;
    right: -240px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(231, 154, 178, 0.18), transparent 70%);
}

.section-ai .container {
    position: relative;
    z-index: 1;
}

.section-more {
    margin-top: 36px;
}

.showcase {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: 0 25px 60px rgba(37, 43, 102, 0.14);
    overflow: hidden;
}

.showcase__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: var(--gradient-brand);
    color: var(--white);
}

.showcase__lights {
    display: flex;
    gap: 7px;
}

.showcase__lights i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
}

.showcase__lights i:nth-child(2) { opacity: 0.65; }
.showcase__lights i:nth-child(3) { opacity: 0.4; }

.showcase__title {
    margin: 0 auto;
    padding: 4px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.showcase__count {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
    min-width: 40px;
    text-align: right;
}

.showcase__timer {
    height: 3px;
    background: var(--primary-soft);
}

.showcase__timer span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--gradient-line);
}

.showcase__viewport {
    display: grid;
    padding: 46px 52px 22px;
}

.sc-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 44px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.sc-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease;
}

.sc-slide.is-leaving {
    visibility: visible;
}

.sc-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--pink-soft);
    color: var(--rose);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sc-text h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.sc-text p {
    color: var(--gray-medium);
    line-height: 1.75;
}

.sc-flow {
    list-style: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.sc-node {
    flex: 0 0 auto;
    width: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.sc-node__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(111, 106, 174, 0.18);
}

.sc-node__icon .ticon {
    width: 32px;
    height: 32px;
}

.sc-node:last-child .sc-node__icon {
    background: var(--gradient-brand);
    border-color: transparent;
    animation: scGlow 2.6s ease-in-out infinite;
}

.sc-node:last-child .sc-node__icon .ticon {
    stroke: var(--white);
}

.sc-node__label {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-dark);
}

.sc-link {
    position: relative;
    flex: 1 1 auto;
    min-width: 20px;
    height: 3px;
    margin-top: 35px;
    border-radius: 2px;
    background: repeating-linear-gradient(90deg, #7b86c4 0 7px, transparent 7px 13px);
    background-size: 26px 3px;
    animation: scFlow 0.9s linear infinite;
}

.sc-link::after {
    content: '';
    position: absolute;
    right: -3px;
    top: -4px;
    border-left: 7px solid var(--rose);
    border-top: 5.5px solid transparent;
    border-bottom: 5.5px solid transparent;
}

@keyframes scFlow { to { background-position: 26px 0; } }
@keyframes scGlow {
    0%, 100% { box-shadow: 0 10px 24px rgba(111, 106, 174, 0.25); }
    50% { box-shadow: 0 10px 34px rgba(176, 90, 124, 0.45); }
}

/* animations (only with JS; without JS everything is simply visible) */
.js .showcase .sc-a {
    opacity: 0;
    transform: translateX(-24px);
}

.js .showcase .sc-pop {
    transform: scale(0.55);
}

.js .showcase .sc-link {
    transform: scaleX(0);
    transform-origin: left center;
}

.js .showcase.is-started .sc-slide.is-active .sc-a {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.55s ease var(--d, 0ms),
        transform 0.65s var(--ease-out-back) var(--d, 0ms);
}

.js .showcase.is-started .sc-slide.is-active .sc-link {
    transition:
        opacity 0.3s ease var(--d, 0ms),
        transform 0.45s ease var(--d, 0ms);
}

.js .showcase .sc-slide.is-leaving .sc-a {
    opacity: 1;
    transform: none;
}

.showcase__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 0 26px;
}

.showcase__arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.showcase__arrow svg {
    width: 20px;
    height: 20px;
}

.showcase__arrow:hover,
.showcase__arrow:focus-visible {
    background: var(--gradient-brand);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-brand);
}

.showcase__dots {
    display: flex;
    gap: 2px;
}

.showcase__dots button {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase__dots button::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-light);
    transition: var(--transition);
}

.showcase__dots button:hover::before,
.showcase__dots button[aria-selected="true"]::before {
    background: var(--gradient-brand);
    border-color: transparent;
    transform: scale(1.2);
}

@media (max-width: 900px) {
    .sc-slide {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .showcase__viewport {
        padding: 34px 30px 14px;
    }
}

@media (max-width: 600px) {
    .showcase__title {
        display: none;
    }

    .showcase__count {
        margin-left: auto;
    }

    .showcase__viewport {
        padding: 26px 18px 10px;
    }

    .sc-text h3 {
        font-size: 1.3rem;
    }

    .sc-node {
        width: 66px;
        gap: 8px;
    }

    .sc-node__icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .sc-node__icon .ticon {
        width: 24px;
        height: 24px;
    }

    .sc-node__label {
        font-size: 0.68rem;
    }

    .sc-link {
        min-width: 8px;
        margin-top: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-link,
    .sc-node:last-child .sc-node__icon {
        animation: none;
    }

    .js .showcase .sc-a,
    .js .showcase .sc-link {
        transform: none !important;
    }
}
