/*
 * Technology page styles
 * @author Fudo
 * @date   2026-05-02
 */

/* ── INTRO ── */
.tech-intro {
    padding: var(--space-16) 0;
}

.tech-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.tech-intro__images {
    position: relative;
}

.tech-intro__img {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
}

.tech-intro__img--product {
    margin-bottom: var(--space-4);
    max-height: 320px;
    object-fit: cover;
}

.tech-intro__img--lifestyle {
    max-height: 280px;
    object-fit: cover;
    object-position: top;
}

.tech-intro__badge {
    position: absolute;
    bottom: var(--space-4);
    left: var(--space-4);
    background: var(--navy-800);
    color: #fff;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 120px;
}

.tech-intro__badge-number {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.tech-intro__badge-label {
    display: block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.8);
    margin-top: var(--space-1);
}

.tech-intro__copy h2 {
    font-size: var(--text-3xl);
    color: var(--navy-900);
    margin: var(--space-3) 0 var(--space-4);
    line-height: 1.2;
}

.tech-intro__body p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

/* ── SANITECH PRO-LINE ── */
.tech-sanitech {
    background: var(--gray-50, #f8fafc);
    padding: var(--space-16) 0;
}

.tech-sanitech .container > h2 {
    text-align: center;
    font-size: var(--text-2xl);
    color: var(--navy-800);
    max-width: 700px;
    margin: 0 auto var(--space-4);
    line-height: 1.3;
}

.tech-sanitech__sub {
    text-align: center;
    color: var(--gray-600);
    max-width: 680px;
    margin: 0 auto var(--space-10);
    line-height: 1.7;
}

.tech-sanitech__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.tech-sanitech__card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: var(--space-6);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.tech-sanitech__card h3 {
    font-size: var(--text-lg);
    color: var(--navy-800);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--orange);
}

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

.tech-sanitech__card ul li {
    position: relative;
    padding-left: var(--space-5);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
}

.tech-sanitech__card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--navy-700);
}

/* ── DOING OUR PART ── */
.tech-doing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.tech-doing__left {
    position: relative;
    overflow: hidden;
}

.tech-doing__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.tech-doing__bg--default {
    background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
}

.tech-doing__left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(6,33,79,0.2) 40%, rgba(6,33,79,0.72) 100%);
    z-index: 1;
}

.tech-doing__quote-box {
    position: absolute;
    bottom: var(--space-8);
    left: var(--space-8);
    right: var(--space-8);
    background: rgba(11, 58, 138, 0.92);
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--orange);
    z-index: 2;
}

.tech-doing__quote-icon {
    font-size: 2rem;
    color: var(--orange);
    line-height: 1;
    display: block;
    margin-bottom: var(--space-2);
    font-family: Georgia, serif;
}

.tech-doing__quote-box blockquote {
    margin: 0;
    color: #fff;
    font-size: var(--text-base);
    font-weight: 500;
    line-height: 1.5;
    border: none;
    padding: 0;
    font-style: italic;
}

.tech-doing__right {
    background: var(--navy-900);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--space-16) 0;
}

.tech-doing__inner {
    max-width: 520px;
    padding: 0 var(--space-12);
    width: 100%;
}

.tech-doing__inner .eyebrow {
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.12em;
}

.tech-doing__inner h2 {
    font-size: var(--text-3xl);
    color: #fff;
    margin: var(--space-3) 0 var(--space-5);
    line-height: 1.2;
}

.tech-doing__body p {
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    margin-bottom: var(--space-4);
}

.tech-doing__body strong {
    color: #fff;
    font-weight: 700;
}

.tech-doing__inner .btn {
    margin-top: var(--space-4);
}

/* ── HEATER ── *//* ── HEATER ── */
.tech-heater {
    padding: var(--space-16) 0;
    background: #fff;
}

.tech-heater__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.tech-heater__copy h2 {
    font-size: var(--text-3xl);
    color: var(--navy-800);
    margin-bottom: var(--space-5);
    line-height: 1.2;
}

.tech-heater__body p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

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

.tech-heater__image img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    border-radius: var(--radius-md);
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .tech-intro__grid,
    .tech-sanitech__cards,
    .tech-heater__grid {
        grid-template-columns: 1fr;
    }

    .tech-intro__badge {
        position: static;
        display: inline-flex;
        align-items: center;
        gap: var(--space-3);
        margin-top: var(--space-4);
        width: auto;
        text-align: left;
        padding: var(--space-3) var(--space-5);
    }

    .tech-intro__badge-number {
        font-size: var(--text-2xl);
    }

    .tech-doing {
        grid-template-columns: 1fr;
    }

    .tech-doing__left {
        min-height: 340px;
    }

    .tech-doing__right {
        padding: var(--space-10) 0;
    }

    .tech-doing__inner {
        padding: 0 var(--space-6);
        max-width: 100%;
    }

    .tech-heater__image {
        order: -1;
    }
}
