* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Brand */
    --te-blue: #0a2463;
    --te-blue-light: #1e3a8a;
    --te-accent: #3b82f6;

    /* Neutrals (warm-paper system) */
    --te-paper: #faf7f2;
    --te-ash: #ede8e0;
    --te-edge: #d8d4cc;
    --te-graphite: #4b5563;
    --te-charcoal: #1a1d24;

    /* Status */
    --te-amber: #b8862a;

    /* Legacy aliases for incremental migration */
    --te-white: var(--te-paper);
    --te-gray: var(--te-graphite);
    --te-dark: var(--te-charcoal);
    --te-ice: var(--te-ash);

    /* Mono for technical specs */
    --te-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html { scroll-behavior: smooth; }

/* HEADER */
.te-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s;
}

.te-header.scrolled {
    background: var(--te-blue);
    box-shadow: 0 1px 0 rgba(0,0,0,0.12);
}

.te-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.te-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.te-logo img {
    height: 56px;
    width: auto;
    display: block;
    transition: height 0.2s ease-out;
}
.te-header.scrolled .te-logo img {
    height: 44px;
}

.te-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.te-nav a {
    color: rgba(250,247,242,0.78);
    text-decoration: none;
    font-family: var(--te-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.15s ease-out, border-color 0.15s ease-out;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.te-nav a:hover, .te-nav a.active {
    color: var(--te-paper);
    border-bottom-color: var(--te-accent);
}

/* "Proizvodi" dropdown */
.te-nav-dd { position: relative; display: inline-flex; align-items: center; }
.te-nav-dd-toggle { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.te-nav-dd-caret { width: 12px; height: 12px; transition: transform 0.2s ease-out; }
.te-nav-dd:hover .te-nav-dd-caret { transform: rotate(180deg); }
.te-nav-dd-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); min-width: 210px; background: #fff; border: 1px solid var(--te-edge); border-radius: 10px; box-shadow: 0 14px 34px rgba(0,0,0,0.16); padding: 8px; margin-top: 10px; opacity: 0; visibility: hidden; transition: opacity 0.18s ease-out, transform 0.18s ease-out; z-index: 200; }
.te-nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.te-nav-dd:hover .te-nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.te-nav-dd-menu a { display: block; padding: 9px 14px; border-radius: 6px; color: var(--te-charcoal) !important; font-family: var(--te-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; border-bottom: none !important; }
.te-nav-dd-menu a:hover { background: var(--te-ash); color: var(--te-blue) !important; border-bottom: none !important; }

.te-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.te-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

.te-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.te-burger.active span:nth-child(2) { opacity: 0; }
.te-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* LANGUAGE TOGGLE */
.te-lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 4px;
    color: var(--te-paper);
    text-decoration: none;
    font-family: var(--te-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: background 0.15s ease-out;
    flex-shrink: 0;
}
.te-lang-toggle:hover {
    background: rgba(255,255,255,0.18);
    color: var(--te-paper);
    border-bottom-color: transparent;
}

/* DARK TOGGLE */



/* DARK MODE — uses custom-property overrides at :root above; minimal explicit rules */

.te-nav-mobile-logo { display: none; }
.te-nav-mobile-contacts { display: none; }

@media (max-width: 768px) {
    .te-burger { display: block; }
    .te-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 290px;
        height: 100vh;
        background: var(--te-blue);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 18px;
        padding: 32px 24px 24px;
        transition: right 0.3s;
        box-shadow: -4px 0 20px rgba(0,0,0,0.3);
        overflow-y: auto;
    }
    .te-nav.open { right: 0; }
    .te-nav a { font-size: 1.05rem; }
    /* Dropdown na mobitelu: uvijek razvijen, uvučen ispod "Proizvodi" */
    .te-nav-dd { display: block; }
    .te-nav-dd-caret { display: none; }
    .te-nav-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; margin: 8px 0 0; padding: 0 0 0 16px; background: transparent; border: none; box-shadow: none; }
    /* neutraliziraj desktop :hover transform (veća specifičnost) da meni ne "bježi" na touch */
    .te-nav-dd:hover .te-nav-dd-menu { transform: none; opacity: 1; visibility: visible; }
    .te-nav-dd-menu::before { display: none; }
    .te-nav-dd-menu a { color: rgba(250,247,242,0.78) !important; font-size: 0.92rem; padding: 7px 0; text-transform: none; letter-spacing: 0.04em; }
    .te-nav-dd-menu a:hover { background: transparent; color: #fff !important; }

    .te-nav-mobile-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 18px;
        margin-bottom: 6px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        text-decoration: none;
    }
    .te-nav-mobile-logo img {
        height: 90px;
        width: auto;
        display: block;
    }

    .te-nav-mobile-contacts {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.15);
    }
    .te-nav-mobile-contacts a {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.88rem;
        color: rgba(255,255,255,0.85) !important;
        text-decoration: none;
        padding: 4px 0;
    }
    .te-nav-mobile-contacts a:hover { color: #fff !important; }
    .te-nav-mobile-contacts a svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        color: var(--te-accent);
    }
    .te-nav-mobile-social {
        display: flex;
        gap: 10px;
        margin-top: 10px;
        padding-top: 14px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .te-nav-mobile-social a {
        width: 36px; height: 36px;
        background: rgba(255,255,255,0.1);
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    .te-nav-mobile-social a:hover { background: var(--te-accent); }
    .te-nav-mobile-social a svg { width: 18px; height: 18px; color: #fff; }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--te-charcoal);
    background: var(--te-paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* Mono helper utility for technical specs */
.te-mono {
    font-family: var(--te-mono);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

/* HERO */
.te-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--te-blue);
    overflow: hidden;
}

.te-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.te-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,36,99,0.55) 0%, rgba(10,36,99,0.75) 100%);
    z-index: 1;
}

.te-hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    color: var(--te-paper);
    padding: 0 24px;
    max-width: 880px;
    width: 100%;
    margin: 0 auto;
}

.te-hero-eyebrow {
    font-family: var(--te-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250,247,242,0.75);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(250,247,242,0.2);
    display: inline-block;
}

.te-hero-title {
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
    color: var(--te-paper);
    text-shadow: 0 2px 40px rgba(0,0,0,0.35);
}

.te-hero-title span {
    display: block;
    color: var(--te-paper);
    opacity: 0.88;
    font-weight: 300;
}

.te-hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 400;
    color: rgba(250,247,242,0.88);
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 50ch;
}

.te-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(250,247,242,0.2);
    max-width: 600px;
}
.te-hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.te-hero-stats dt {
    font-family: var(--te-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(250,247,242,0.65);
    order: 2;
}
.te-hero-stats dd {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    color: var(--te-paper);
    letter-spacing: -0.02em;
    margin: 0;
    order: 1;
}
@media (max-width: 600px) {
    .te-hero-stats { gap: 24px; grid-template-columns: 1fr 1fr; }
    .te-hero-stats > div:last-child { grid-column: 1 / -1; }
}

.te-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--te-paper);
    color: var(--te-blue);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease-out, transform 0.2s ease-out;
    letter-spacing: 0.02em;
}

.te-hero-cta:hover {
    background: var(--te-ash);
    transform: translateY(-2px);
}

.te-hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    animation: te-bounce 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes te-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* INTRO */
.te-intro {
    padding: 100px 24px 24px;
    background: var(--te-paper);
}

.te-container {
    max-width: 900px;
    margin: 0 auto;
}

.te-intro-text {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--te-graphite);
    max-width: none;
    margin: 0 auto;
}

.te-intro-text strong {
    color: var(--te-blue);
    font-weight: 700;
}

/* SERVICES — editorial asymmetric layout (no identical card grid) */
.te-services-section { padding: 100px 24px 80px; background: var(--te-ash); }
.te-services-section .te-container { max-width: 1200px; }
.te-services-lead { max-width: 600px; margin: -24px 0 64px; font-size: 1.1rem; color: var(--te-graphite); line-height: 1.7; }

/* Asymmetric grid: 1 large (primary service) + 3 smaller */
.te-services-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}
.te-service-card {
    background: var(--te-paper);
    border: 1px solid var(--te-edge);
    border-radius: 4px;
    padding: 32px 28px;
    text-align: left;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    position: relative;
}
.te-service-card:first-child {
    grid-row: 1 / span 2;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
}
.te-service-card:first-child h3 { font-size: 1.75rem; }
.te-service-card:first-child p { font-size: 1.05rem; }
.te-service-card:first-child .te-service-icon { width: 56px; height: 56px; margin-bottom: 0; align-self: flex-start; }
.te-service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.te-service-card::before {
    content: counter(service-num, decimal-leading-zero);
    counter-increment: service-num;
    font-family: var(--te-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--te-graphite);
    position: absolute;
    top: 28px;
    right: 32px;
}
.te-services-grid { counter-reset: service-num; }
.te-service-icon { width: 44px; height: 44px; margin: 0 0 20px; background: var(--te-blue); border-radius: 0; display: flex; align-items: center; justify-content: center; color: var(--te-paper); }
.te-service-icon svg { width: 22px; height: 22px; }
.te-service-card:first-child .te-service-icon svg { width: 28px; height: 28px; }
.te-service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--te-charcoal); margin-bottom: 10px; }
.te-service-card p { font-size: 0.95rem; color: var(--te-graphite); line-height: 1.65; margin: 0; }
@media (max-width: 900px) {
    .te-services-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .te-service-card:first-child { grid-row: auto; grid-column: 1 / -1; min-height: auto; }
}
@media (max-width: 500px) { .te-services-grid { grid-template-columns: 1fr; } }

/* FAQ */
.te-faq-section { padding: 100px 24px; background: var(--te-paper); }
.te-faq-list { display: flex; flex-direction: column; max-width: 800px; margin: 0 auto; border-top: 1px solid var(--te-edge); }
.te-faq-item { background: transparent; border: none; border-bottom: 1px solid var(--te-edge); border-radius: 0; overflow: hidden; transition: background 0.2s ease-out; }
.te-faq-item[open] { box-shadow: none; }
.te-faq-item summary { padding: 24px 8px; font-size: 1.05rem; font-weight: 600; color: var(--te-charcoal); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.te-faq-item summary::-webkit-details-marker { display: none; }
.te-faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--te-graphite); font-weight: 300; transition: transform 0.2s ease-out; flex-shrink: 0; }
.te-faq-item[open] summary::after { transform: rotate(45deg); color: var(--te-blue); }
.te-faq-item summary:hover { color: var(--te-blue); }
.te-faq-item p { padding: 0 8px 24px; font-size: 1rem; color: var(--te-graphite); line-height: 1.7; max-width: 65ch; }

/* OFFERS */
.te-offers-section { padding: 80px 24px; background: var(--te-blue); }
.te-offers-section .te-section-heading { color: var(--te-paper); }
.te-offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.te-offer-card { background: var(--te-paper); border: 1px solid var(--te-edge); border-radius: 4px; padding: 32px 28px; color: var(--te-charcoal); position: relative; transition: transform 0.2s ease-out, box-shadow 0.2s ease-out; }
.te-offer-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.te-offer-badge { position: absolute; top: 16px; right: 16px; background: var(--te-amber); color: var(--te-paper); padding: 4px 12px; font-family: var(--te-mono); font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.te-offer-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; margin-top: 0; color: var(--te-charcoal); }
.te-offer-card p { font-size: 0.95rem; color: var(--te-graphite); line-height: 1.65; margin-bottom: 16px; }
.te-offer-valid { display: block; font-family: var(--te-mono); font-size: 0.72rem; color: var(--te-graphite); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 20px; }
.te-offer-cta { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; background: var(--te-blue); color: var(--te-paper); font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: background 0.2s ease-out; }
.te-offer-cta:hover { background: var(--te-blue-light); }
@media (max-width: 768px) { .te-offers-grid { grid-template-columns: 1fr; max-width: 400px; } }

/* BRANDS */
.te-brands-section { padding: 24px 24px 100px; background: var(--te-paper); }
.te-brands-section .te-section-heading { margin-bottom: 16px; text-align: left; }
.te-brands-lead { max-width: 65ch; margin: 0 auto 48px; text-align: center; color: var(--te-graphite); font-size: 1.1rem; font-weight: 400; line-height: 1.7; }
.te-brands-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.te-brand-item { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 20px; padding: 36px 24px 24px; background: var(--te-paper); border: 1px solid var(--te-edge); border-radius: 12px; min-height: 210px; text-decoration: none; color: inherit; cursor: pointer; transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out; }
.te-brand-item:hover { transform: translateY(-4px); border-color: var(--te-blue); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.te-brand-item img { max-width: 100%; max-height: 104px; width: auto; height: auto; object-fit: contain; flex: 1; transition: transform 0.18s ease-out; }
.te-brand-item:hover img { transform: scale(1.04); }
.te-brand-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; color: var(--te-blue); opacity: 0.85; transition: opacity 0.18s ease-out; }
.te-brand-item:hover .te-brand-cta { opacity: 1; }
.te-brand-cta svg { width: 15px; height: 15px; transition: transform 0.18s ease-out; }
.te-brand-item:hover .te-brand-cta svg { transform: translateX(4px); }
@media (max-width: 1024px) { .te-brands-grid { grid-template-columns: repeat(3, 1fr); } .te-brand-item { min-height: 190px; } .te-brand-item img { max-height: 90px; } }
@media (max-width: 600px)  { .te-brands-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .te-brand-item { padding: 26px 14px 18px; min-height: 160px; } .te-brand-item img { max-height: 76px; } }

/* FEATURED POSTS */
.te-featured-section {
    padding: 100px 24px;
    background: var(--te-ash);
}
.te-featured-section .te-container { max-width: 1340px; }

.te-section-heading {
    text-align: left;
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--te-charcoal);
    margin-bottom: 48px;
}

.te-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1340px;
    margin: 0 auto;
}

.te-featured-card {
    background: var(--te-paper);
    border: 1px solid var(--te-edge);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.te-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.te-featured-img {
    height: 240px;
    overflow: hidden;
    background: var(--te-ash);
}

.te-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.te-featured-card:hover .te-featured-img img {
    transform: scale(1.05);
}

.te-featured-body {
    padding: 28px;
}

.te-featured-cat {
    display: inline-block;
    font-family: var(--te-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--te-graphite);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.te-featured-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--te-charcoal);
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.te-featured-body p {
    font-size: 0.95rem;
    color: var(--te-graphite);
    line-height: 1.65;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.te-featured-date {
    font-family: var(--te-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--te-graphite);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1100px) {
    .te-featured-grid { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
}
@media (max-width: 768px) {
    .te-featured-grid { grid-template-columns: 1fr; max-width: 560px; }
    .te-featured-img { height: 220px; }
}

/* FOOTER */
.te-footer {
    background: var(--te-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 24px 0;
}

.te-footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.te-footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.te-footer-col p {
    font-size: 0.88rem;
    line-height: 1.8;
    margin: 0;
}

.te-footer-col a {
    color: var(--te-accent);
    text-decoration: none;
    transition: color 0.2s;
}

.te-footer-col a:hover {
    color: #93c5fd;
}

.te-footer-partner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 36px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.te-footer-partner a {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.te-footer-partner a:hover { opacity: 0.8; }

.te-footer-partner img {
    height: 72px;
    width: auto;
    background: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    display: block;
}

@media (max-width: 768px) {
    .te-footer-partner img { height: 56px; }
}

.te-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.te-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.te-footer-social a:hover {
    background: var(--te-accent);
    transform: translateY(-2px);
}

.te-footer-social svg { width: 20px; height: 20px; }

.te-footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

@media (max-width: 480px) {
    .te-footer-partner a { flex-direction: column; gap: 10px; }
}

@media (max-width: 768px) {
    .te-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .te-hero { min-height: 90vh; }
    .te-hero-icon { width: 60px; height: 60px; margin-bottom: 24px; }
    .te-hero-icon svg { width: 30px; height: 30px; }
    .te-hero-cta { padding: 14px 28px; font-size: 0.9rem; }
}

/* ==================== WIZARD ==================== */
.te-wizard-section {
    padding: 40px 24px;
    background: #f8fafc;
}


.te-wizard-heading {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--te-blue);
    margin-bottom: 8px;
}


.te-wizard-subheading {
    text-align: center;
    color: var(--te-gray);
    font-size: 1.05rem;
    margin-bottom: 40px;
}


/* Progress */
.te-progress {
    max-width: 600px;
    margin: 0 auto 32px;
}

.te-progress-info {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--te-blue);
    margin-bottom: 8px;
}


.te-progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}


.te-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--te-blue), var(--te-accent));
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Wizard container */
.te-wizard {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Steps */
.te-step {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    background: var(--te-white);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}


.te-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.te-step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--te-blue);
    margin-bottom: 24px;
}


.te-step-desc {
    color: var(--te-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}


/* Radio cards */
.te-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.te-radio-card {
    display: block;
    cursor: pointer;
}

.te-radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.te-radio-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    background: var(--te-white);
}


.te-radio-card input:checked + .te-radio-inner {
    border-color: var(--te-accent);
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}


.te-radio-card:hover .te-radio-inner {
    border-color: var(--te-accent);
}

.te-radio-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.te-radio-label {
    font-weight: 500;
    font-size: 0.95rem;
    flex: 1;
}

.te-radio-note {
    font-size: 0.8rem;
    color: var(--te-accent);
    font-weight: 600;
    background: rgba(59,130,246,0.1);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Checkbox cards */
.te-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.te-check-card {
    display: block;
    cursor: pointer;
}

.te-check-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.te-check-inner {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    background: var(--te-white);
}


.te-check-card input:checked + .te-check-inner {
    border-color: var(--te-accent);
    background: #eff6ff;
    color: var(--te-blue);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}


.te-check-card:hover .te-check-inner {
    border-color: var(--te-accent);
}

/* Substeps */
.te-substep {
    margin-bottom: 28px;
}

.te-substep:last-child {
    margin-bottom: 0;
}

.te-substep-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--te-gray);
    margin-bottom: 12px;
}


/* Room cards */
.te-room-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
}


.te-room-card:last-child {
    margin-bottom: 0;
}

.te-room-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--te-accent);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}


/* Small radio cards (inside room cards) */
.te-radio-group-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.te-radio-card-sm {
    display: block;
    cursor: pointer;
    flex: 1;
    min-width: 140px;
}

.te-radio-card-sm input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.te-radio-inner-sm {
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
    background: var(--te-white);
}


.te-radio-card-sm input:checked + .te-radio-inner-sm {
    border-color: var(--te-accent);
    background: #eff6ff;
    color: var(--te-blue);
    box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}


.te-radio-card-sm:hover .te-radio-inner-sm {
    border-color: #93c5fd;
}

/* Form inputs */
.te-form-group {
    margin-bottom: 18px;
}

.te-form-group:last-child {
    margin-bottom: 0;
}

.te-form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--te-dark);
    margin-bottom: 6px;
}


.te-input, .te-textarea {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--te-white);
    color: var(--te-dark);
}


.te-input:focus, .te-textarea:focus {
    outline: none;
    border-color: var(--te-accent);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.te-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Budget note */
.te-budget-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #92400e;
    font-weight: 500;
}


/* Wizard navigation */
.te-wizard-nav {
    max-width: 700px;
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.te-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.te-btn-next {
    background: var(--te-blue);
    color: var(--te-paper);
    margin-left: auto;
}

.te-btn-next:hover:not(:disabled) {
    background: var(--te-blue-light);
}

.te-btn-next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.te-btn-back {
    background: #e2e8f0;
    color: var(--te-dark);
}


.te-btn-back:hover {
    background: #cbd5e1;
}


/* Result screen */
.te-result {
    text-align: center;
}

.te-result-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    line-height: 72px;
}

.te-result-title {
    font-size: 1.6rem;
    color: var(--te-blue);
    margin-bottom: 24px;
}


.te-result-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.te-result-total, .te-result-system {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}


.te-result-total span, .te-result-system span {
    display: block;
    font-size: 0.82rem;
    color: var(--te-gray);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}


.te-result-total strong {
    font-size: 1.8rem;
    color: var(--te-accent);
}

.te-result-system strong {
    font-size: 1.1rem;
    color: var(--te-blue);
}


.te-result-rooms {
    text-align: left;
    margin-bottom: 24px;
}

.te-result-rooms h4 {
    font-size: 1rem;
    color: var(--te-gray);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.te-result-room {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #e2e8f0;
}


.te-result-room-name {
    font-weight: 600;
    color: var(--te-dark);
    flex: 1;
}


.te-result-room-area {
    color: var(--te-gray);
    font-size: 0.9rem;
    margin: 0 16px;
}


.te-result-room-kw {
    font-weight: 700;
    color: var(--te-accent);
    font-size: 1.05rem;
}

.te-result-message {
    margin-top: 24px;
    font-size: 1.05rem;
    color: #22c55e;
    font-weight: 600;
}

/* Responsive wizard */
@media (max-width: 640px) {
    .te-step {
        padding: 24px 18px;
    }

    .te-radio-group-inline {
        flex-direction: column;
    }

    .te-radio-card-sm {
        min-width: 100%;
    }

    .te-checkbox-group {
        grid-template-columns: 1fr;
    }

    .te-result-summary {
        grid-template-columns: 1fr;
    }

    .te-wizard-nav {
        flex-direction: column-reverse;
    }

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

    .te-btn-next {
        margin-left: 0;
    }

    .te-result-room {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .te-result-room-area {
        margin: 0;
    }
}

/* === Breadcrumbs === */
.te-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    color: var(--te-gray);
}
.te-breadcrumb a {
    color: var(--te-accent);
    text-decoration: none;
    transition: color 0.2s;
}
.te-breadcrumb a:hover { color: var(--te-blue); text-decoration: underline; }
.te-breadcrumb-sep { color: #cbd5e1; }
.te-breadcrumb-current { color: var(--te-gray); font-weight: 600; }

/* Reduced motion: kill non-essential animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .te-hero-cta:hover,
    .te-service-card:hover,
    .te-featured-card:hover,
    .te-ref-card:hover,
    .te-offer-card:hover {
        transform: none;
    }
}

/* ============================================
   Reviews section (home) — minimal modern
   ============================================ */
.te-reviews-section {
    padding: 80px 24px;
    background: var(--te-paper);
    color: var(--te-charcoal);
    border-top: 1px solid var(--te-edge);
}
.te-reviews-section .te-section-heading {
    color: var(--te-charcoal);
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 2.4vw, 1.875rem);
}
.te-reviews-section .te-container { max-width: 1200px; margin: 0 auto; }
.te-reviews-header { margin-bottom: 40px; }
.te-reviews-stars { color: var(--te-amber); font-size: 0.9rem; letter-spacing: 2px; }
.te-reviews-avg { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--te-charcoal); }
.te-reviews-count { font-family: var(--te-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--te-graphite); }
/* slider — minimal */
.te-reviews-slider {
    position: relative;
    padding: 0;
}
.te-reviews-viewport {
    overflow: hidden;
    margin: 0 -20px;
}
.te-reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.te-reviews-track > .te-review-card {
    flex: 0 0 calc(33.333% - 40px);
    margin: 0 20px;
    min-width: 0;
    padding-right: 20px;
    border-right: 1px solid var(--te-edge);
}
.te-reviews-track > .te-review-card:last-child { border-right: none; }

.te-slider-nav {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--te-edge);
    color: var(--te-graphite);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease-out;
}
.te-slider-nav:hover {
    border-color: var(--te-charcoal);
    color: var(--te-charcoal);
}
.te-slider-nav:disabled { opacity: 0.3; cursor: default; }
.te-slider-nav svg { width: 16px; height: 16px; }

/* nav row below cards */
.te-slider-controls {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.te-slider-dots {
    display: flex;
    gap: 6px;
    margin-left: 4px;
}
.te-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--te-edge);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, width 0.2s;
}
.te-slider-dot:hover { background: var(--te-graphite); }
.te-slider-dot.is-active {
    background: var(--te-charcoal);
    width: 18px;
}
@media (max-width: 1024px) {
    .te-reviews-track > .te-review-card { flex: 0 0 calc(50% - 40px); }
}
@media (max-width: 640px) {
    .te-reviews-section { padding: 56px 20px; }
    .te-reviews-track > .te-review-card { flex: 0 0 calc(100% - 40px); }
}
.te-review-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    color: var(--te-charcoal);
    position: relative;
    display: flex;
    flex-direction: column;
}
.te-review-card::before { content: none; }
.te-review-stars {
    color: var(--te-amber);
    font-size: 0.78rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    line-height: 1;
}
.te-review-stars span { display: inline-block; }
.te-review-text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--te-charcoal);
    margin: 0 0 16px;
    flex: 1;
    font-weight: 400;
}
.te-review-meta {
    border-top: none;
    padding-top: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.te-review-meta strong {
    color: var(--te-charcoal);
    font-size: 0.85rem;
    font-weight: 600;
}
.te-review-meta small {
    color: var(--te-graphite);
    font-size: 0.7rem;
    font-family: var(--te-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.te-reviews-cta-row {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--te-edge);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.te-reviews-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--te-charcoal);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
}
.te-reviews-cta:hover { opacity: 0.6; }
.te-reviews-cta-note {
    font-family: var(--te-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--te-graphite);
}
