:root {
    --tec-bg: #f0f2f5;
    --tec-white: #fff;
    --tec-dark: #0f172a;
    --tec-gray: #64748b;
    --tec-blue: #3b82f6;
    --tec-orange: #3b82f6;
    --tec-red: #ef4444;
    --tec-border: #e2e8f0;
    --tec-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}
.tec-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 16px;
    font-family: 'Montserrat', sans-serif;
    color: var(--tec-dark);
}
.tec-wrapper a,
.tec-wrapper button,
.tec-wrapper input,
.tec-wrapper [role="button"] {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.tec-hero {
    background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 50%, #e0f2fe 100%);
    border-radius: 28px;
    padding: 44px;
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: auto 1fr 340px;
    gap: 36px;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, .1);
}
.tec-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, .08), transparent 70%);
    border-radius: 50%;
}
.tec-hero-left {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-width: 300px;
}
.tec-title {
    margin: 0 0 4px;
    font-size: 32px;
    font-weight: 800;
    color: var(--tec-dark);
}
.tec-subtitle {
    margin: 0 0 28px;
    font-size: 15px;
    color: var(--tec-gray);
    font-weight: 500;
}
.tec-hero-contacts {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    justify-content: space-between;
}
.tec-hc {
    display: flex;
    align-items: center;
    gap: 14px;
}
.tec-hc-ico {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .2s;
}
.tec-blue-ico {
    background: rgba(37, 99, 235, .1);
    color: var(--tec-blue);
}
.tec-red-ico {
    background: rgba(239, 68, 68, .1);
    color: var(--tec-red);
}
.tec-hc:hover .tec-hc-ico {
    transform: scale(1.05);
}
.tec-hc-label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
    color: var(--tec-gray);
}
.tec-hc-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--tec-dark);
    text-decoration: none;
    display: block;
}
.tec-big-phone {
    font-size: 30px;
    font-weight: 800;
    color: var(--tec-blue);
}
.tec-hc-email {
    font-size: 12px;
    color: var(--tec-blue);
    text-decoration: none;
}
.tec-hc-phones {
    display: flex;
    gap: 10px;
}
.tec-hero-center {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    padding: 0 10px;
}
.tec-qlink {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--tec-white);
    border: 1px solid var(--tec-border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--tec-dark);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}
.tec-qlink:hover, .tec-qlink:focus, .tec-qlink:active {
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--tec-border) !important;
}
.tec-qlink span {
    line-height: 1.3;
}
.tec-qlink-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}
.tec-qi-blue {
    background: #eff6ff;
    color: var(--tec-blue);
}
.tec-qi-green {
    background: #f0fdf4;
    color: #16a34a;
}
.tec-qi-orange {
    background: #fff7ed;
    color: var(--tec-orange);
}
.tec-qi-purple {
    background: #f5f3ff;
    color: #7c3aed;
}
.tec-qlink:hover .tec-qi-blue {
    background: var(--tec-blue);
    color: #fff;
}
.tec-qlink:hover .tec-qi-green {
    background: #16a34a;
    color: #fff;
}
.tec-qlink:hover .tec-qi-orange {
    background: var(--tec-orange);
    color: #fff;
}
.tec-qlink:hover .tec-qi-purple {
    background: #7c3aed;
    color: #fff;
}
.tec-hero-right {
    position: relative;
    z-index: 1;
    background: var(--tec-white);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--tec-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    display: flex;
    flex-direction: column;
}
.tec-schedule-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--tec-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.tec-schedule-title svg {
    color: var(--tec-blue);
}
.tec-schedule-rows {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tec-sched-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.tec-sched-row:last-of-type {
    border-bottom: none;
}
.tec-sched-day {
    color: var(--tec-gray);
    font-weight: 500;
}
.tec-sched-time {
    font-weight: 700;
    color: var(--tec-dark);
}
.tec-off {
    color: var(--tec-red);
}
.tec-sched-kassa {
    width: 100%;
    text-align: right;
    font-size: 10px;
    font-weight: 600;
    color: var(--tec-blue);
    margin-top: 2px;
}
.tec-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 12px 20px;
    background: var(--tec-blue);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s;
}
.tec-call-btn:hover {
    background: #2563eb;
    color: #fff;
}
.tec-call-btn:visited,
.tec-call-btn:active,
.tec-call-btn:focus {
    color: #fff;
}
.tec-call-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.tec-call-sub {
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    color: var(--tec-gray);
    margin-top: 6px;
}
.tec-depts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 36px;
}
.tec-dept {
    background: var(--tec-white);
    border: 1px solid var(--tec-border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--tec-shadow);
}
.tec-dept-hd {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.tec-dept-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--tec-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tec-dept-hd h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--tec-dark);
}
.tec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tec-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 16px;
    transition: transform .2s;
}
.tec-list li:last-child {
    border-bottom: none;
}
.tec-list li:hover {
    transform: translateX(4px);
}
.tec-list li span {
    font-size: 14px;
    font-weight: 500;
    color: var(--tec-gray);
    line-height: 1.4;
    flex: 1;
    position: relative;
    padding-left: 18px;
    transition: color .2s;
}
.tec-list li:hover span {
    color: var(--tec-dark);
}
.tec-list li span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    background: var(--tec-blue);
    border-radius: 50%;
    transition: box-shadow .2s;
}
.tec-list li:hover span::before {
    box-shadow: 0 0 6px var(--tec-blue);
}
.tec-list li small {
    font-size: 12px;
    font-weight: 700;
    color: var(--tec-dark);
    background: #f1f5f9;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background .2s, color .2s;
}
.tec-list li:hover small {
    background: #eff6ff;
    color: var(--tec-blue);
}
.tec-pay-map {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
}
.tec-pay-block {
    background: var(--tec-white);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--tec-border);
    box-shadow: var(--tec-shadow);
}
.tec-pay-title {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tec-pay-title svg {
    color: var(--tec-orange);
}
.tec-pay-card {
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
    border: 1px solid #fde8d0;
    position: relative;
}
.tec-pay-card:last-of-type {
    margin-bottom: 0;
}
.tec-pay-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--tec-orange);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 3px 10px;
    border-radius: 20px;
}
.tec-pay-addr {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tec-pay-addr svg {
    color: var(--tec-orange);
    flex-shrink: 0;
}
.tec-pay-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--tec-gray);
    margin-bottom: 4px;
}
.tec-pay-row svg {
    color: var(--tec-blue);
    flex-shrink: 0;
}
.tec-pay-row b {
    color: var(--tec-dark);
}
.tec-pay-row .tec-off {
    color: var(--tec-red);
    font-weight: 600;
}
.tec-pay-phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tec-orange);
    text-decoration: none;
    margin-top: 6px;
    padding: 5px 12px;
    background: #fff7ed;
    border-radius: 8px;
    transition: background .2s;
}
.tec-pay-phone:hover {
    background: #fde8d0;
}
.tec-pay-phone svg {
    width: 13px;
    height: 13px;
}
.tec-map-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--tec-shadow);
    border: 1px solid var(--tec-border);
    display: flex;
}
.tec-map-wrap iframe {
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 380px;
    border: none;
    display: block;
}
@media (max-width: 1024px) {
    .tec-hero {
        grid-template-columns: 1fr;
    }
    .tec-hero-center {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    .tec-qlink {
        min-width: 0;
    }
    .tec-pay-map {
        grid-template-columns: 1fr;
    }
    .tec-depts {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .tec-wrapper {
        padding: 16px 8px;
    }
    .tec-hero {
        padding: 24px 18px;
        border-radius: 18px;
        margin-bottom: 20px;
        gap: 20px;
    }
    .tec-hero-left {
        min-width: unset;
    }
    .tec-title {
        font-size: 22px;
    }
    .tec-subtitle {
        font-size: 13px;
        margin-bottom: 16px;
    }
    .tec-hero-contacts {
        gap: 14px;
    }
    .tec-hc-ico {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    .tec-hc-ico svg {
        width: 20px;
        height: 20px;
    }
    .tec-hc-label {
        font-size: 10px;
    }
    .tec-hc-val {
        font-size: 15px;
    }
    .tec-big-phone {
        font-size: 24px;
    }
    .tec-hc-phones {
        gap: 8px;
    }
    .tec-hero-center {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .tec-qlink {
        padding: 12px;
        font-size: 13px;
        gap: 8px;
        border-radius: 12px;
        text-align: center;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .tec-qlink span {
        line-height: 1.2;
        text-align: center;
        word-break: keep-all;
    }
    .tec-qlink-ico {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    .tec-qlink-ico svg {
        width: 18px;
        height: 18px;
    }
    .tec-hero-right {
        padding: 18px;
        border-radius: 14px;
    }
    .tec-schedule-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .tec-sched-row {
        font-size: 13px;
        padding: 8px 0;
    }
    .tec-call-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    .tec-call-sub {
        font-size: 9px;
    }
    .tec-depts {
        gap: 12px;
        margin-bottom: 20px;
    }
    .tec-dept {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .tec-dept-hd {
        margin-bottom: 12px;
    }
    .tec-dept-hd h3 {
        font-size: 17px;
    }
    .tec-list li {
        flex-direction: column;
        gap: 5px;
        padding: 10px 0;
    }
    .tec-list li:hover {
        transform: none;
    }
    .tec-list li span {
        font-size: 14px;
        padding-left: 14px;
    }
    .tec-list li span::before {
        top: 5px;
        width: 4px;
        height: 4px;
    }
    .tec-list li small {
        align-self: flex-start;
        margin-left: 14px;
        font-size: 13px;
        padding: 3px 8px;
    }
    .tec-pay-map {
        gap: 12px;
    }
    .tec-pay-block {
        padding: 18px;
        border-radius: 14px;
    }
    .tec-pay-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .tec-pay-card {
        padding: 14px;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    .tec-map-wrap {
        display: none;
    }
}
@media (max-width: 420px) {
    .tec-hero {
        padding: 18px 14px;
        gap: 16px;
    }
    .tec-title {
        font-size: 20px;
    }
    .tec-hero-center {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .tec-qlink {
        padding: 10px 8px;
        font-size: 11px;
        gap: 6px;
    }
    .tec-qlink-ico {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }
    .tec-qlink-ico svg {
        width: 15px;
        height: 15px;
    }
    .tec-sched-row {
        font-size: 12px;
    }
    .tec-sched-kassa {
        font-size: 9px;
    }
    .tec-hc-val {
        font-size: 13px;
    }
    .tec-big-phone {
        font-size: 22px;
    }
    .tec-hc-ico {
        width: 36px;
        height: 36px;
    }
    .tec-hc-ico svg {
        width: 18px;
        height: 18px;
    }
}
