@charset "utf-8";

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
    z-index: 9999;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-6px);
}

.sec-title {
    margin-bottom: 60px;
}

.sec-title h2 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.sec-title h2 img {
    width: 40px;
    transform: translateY(-2px);
}

.sec-title p {
    font-size: 1.2rem;
    line-height: 1.5;
}

.template-view .tv-faq .inner .sec-title h2,
.template-view .tv-process .inner .sec-title h2,
.template-view .tv-benefit .inner .sec-title h2 {
    font-size: 2rem;
}

.template-view .tv-faq .inner .sec-title {
    text-align: center;
}

@media (max-width:768px) {

    .template-view .tv-faq .inner .sec-title h2,
    .template-view .tv-process .inner .sec-title h2,
    .template-view .tv-benefit .inner .sec-title h2 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 12px;
        display: flex;
        line-height: 1.6;
    }

    .sec-title p {
        font-size: 1rem;
    }
    
    .template-view .tv-faq .inner .sec-title {
        text-align: left;
    }
}


.template-view {
    padding: 150px 0;
}

.template-view .tv-inner {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    display: grid;
    /* grid 아이템의 기본 min-width:auto로 인한 콘텐츠(이미지) 기반 확장 방지 */
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 4rem;
}

.template-view .tv-preview {
    position: relative;
    min-width: 0;
    /* 이미지가 grid 폭을 밀어내지 않도록 */
}

.template-view .tv-preview .circle {
    height: 24px;
    align-items: center;
    display: flex;
    background: #f1f1f1;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 4px 4px 0 0;
}

.template-view .tv-preview .circle ul {
    display: flex;
    padding-left: 10px;
}

.template-view .tv-preview .circle ul li {
    background-color: #d3d3d3;
    border-radius: 50%;
    height: 6px;
    width: 6px;
    display: block;
}

.template-view .tv-preview .circle ul li:not(:last-child) {
    margin-right: 6px;
}

.template-view .tv-preview .thumb-wrap {
    height: 550px;
    overflow-x: hidden;
    overflow-y: auto;
    /* 스크롤바로 인한 폭 변화(리플로우) 최소화 */
    scrollbar-gutter: stable;
}

.template-view .tv-preview .thumb-wrap::-webkit-scrollbar {
    width: 6px;
    height: 10px;
    margin: 0 2px;
    background-color: rgba(0, 0, 0, 0);
    -webkit-border-radius: 100px;
}

.template-view .tv-preview .thumb-wrap::-webkit-scrollbar:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.template-view .tv-preview .thumb-wrap::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.4);
    -webkit-border-radius: 100px;
    border: 2px solid transparent;
}

.template-view .tv-preview .thumb-wrap::-webkit-scrollbar-thumb:active {
    background: rgba(0, 0, 0, 0.61);
    -webkit-border-radius: 100px;
}

.template-view .tv-preview-pc img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.template-view .tv-preview-mo {
    position: absolute;
    right: -2rem;
    bottom: -2rem;
    width: 200px;
}

.template-view .tv-preview-mo img {
    width: 100%;
    border-radius: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.template-view .tv-info {
    display: flex;
    flex-direction: column;
}

.template-view .tv-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-view .tv-code {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.template-view .tv-util button {
    position: relative;
    width: 24px;
    height: 24px;
    background: none;
    border: 0;
    cursor: pointer;
}

.template-view .tv-util .tooltip {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
}

/* 말풍선 꼬리 */
.template-view .tv-util .tooltip::after {
    content: "";
    position: absolute;
    top: -0.3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 0.3rem solid transparent;
    border-right: 0.3rem solid transparent;
    border-bottom: 0.3rem solid #111;
}

.template-view .tv-util button:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.template-view .tv-title {
    font-size: 1.5rem;
    margin: 1rem 0 0;
}

.template-view .tv-price {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 1.5rem 0;
}

.template-view .tv-price .price-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.template-view .tv-price .price-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.template-view .tv-price .discount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff3b30;
}

.template-view .tv-price .original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.template-view .tv-price .final-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
}

.template-view .price-note {
    margin: 0.35rem 0 1.25rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #8b939e;
    font-weight: 400;
}

/* 버튼 */
.template-view .btn-estimate {
    display: inline-flex;
    align-self: flex-end;
    gap: 0.4rem;
    padding: 0.6rem 0.9rem;
    border-radius: 0.6rem;
    background: #f3f4f6;
    font-size: 0.85rem;
    color: #333;
    text-decoration: none;
}

.template-view .btn-estimate img {
    width: 0.9rem;
    height: 0.9rem;
}


.template-view .btn-estimate {
    font-size: 0.9rem;
    color: #2563eb;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #F0F6FF;
    padding: 6px 8px;
    font-weight: 600;
    border-radius: 4px;
}

.template-view .tv-desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    word-break: keep-all;
}

.template-view .tv-feature {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 0;
}

.template-view .tv-feature li {
    margin-bottom: 0.8rem;
    position: relative;
    color: #333;
    font-size: 1rem;
}

.template-view .tv-feature li > span {
text-transform: uppercase;
}

.template-view .tv-feature li img {
    transform: translateY(-1px);
}

.template-view .tv-feature li.highlight {
    font-weight: 600;
}

.template-view .tv-cta {
    display: flex;
    gap: 1rem;
}

.template-view .swiper-wrapper {
    height: auto !important;
}

.template-view .tv-cta a {
    flex: 1;
    height: 52px;
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.template-view .btn-preview {
    background: #F0F6FF;
    color: #2563eb;
}

.template-view .btn-consult {
    background: #000;
    color: #fff;
}

/* 추천 디자인: tv-inner grid 밖 독립 블록 — .tv-inner 와 동일 폭 래퍼 + list.css 카드 */
.template-view .tv-recommend {
    margin-bottom: 60px;
    padding: 80px 0;
    width: 100%;
    box-sizing: border-box;
}

.template-view .tv-recommend-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.template-view .tv-recommend .solution-wrap {
    max-width: 100%;
}

/* layout.css .sec-template .sec-head(60px) + .template-list(40px) 중복 여백 제거 — 사례 섹션(.tv-cases-head)과 동일 */
.template-view .tv-recommend .solution-wrap .sec-template .sec-head {
    margin-bottom: 36px;
}

.template-view .tv-recommend .solution-wrap .sec-template .sec-head h2 {
    margin-bottom: 10px;
}

/* rentcar와 동일 .template-list 래퍼 — 자식이 Swiper 하나뿐이므로 list.css·layout의 그리드 규칙을 덮어 Swiper 폭 유지 */
.template-view .tv-recommend .solution-wrap .sec-template .template-wrap > .template-list.tv-recommend-template-list {
    display: block;
    width: 100%;
    margin-top: 0;
    grid-template-columns: unset;
    column-gap: unset;
    row-gap: unset;
}

.template-view .tv-recommend-slider {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.template-view .tv-recommend .recommendSwiper {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 0;
}

.template-view .tv-recommend-control {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    width: 100%;
}

.template-view .tv-recommend-progress {
    flex: 1;
    min-width: 0;
    height: 3px;
    background: #e4e6ea;
    border-radius: 999px;
    overflow: hidden;
}

.template-view .tv-recommend-progress__bar {
    display: block;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
}

.template-view .tv-recommend-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.template-view .tv-recommend-prev,
.template-view .tv-recommend-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #1a1a1a;
    transition: opacity 0.2s ease;
}

.template-view .tv-recommend-prev:disabled,
.template-view .tv-recommend-next:disabled {
    opacity: 0.28;
    cursor: default;
}

.template-view .tv-recommend-arrow {
    display: block;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.template-view .tv-recommend-arrow--prev {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.template-view .tv-recommend-arrow--next {
    transform: rotate(45deg);
    margin-right: 3px;
}

.template-view .tv-recommend-fraction {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 44px;
    justify-content: center;
    font-size: 0.9375rem;
    line-height: 1;
    color: #888;
    font-variant-numeric: tabular-nums;
}

.template-view .tv-recommend-current {
    font-weight: 700;
    color: #2563eb;
}

.template-view .tv-recommend-separator,
.template-view .tv-recommend-total {
    color: #999;
}

.template-view .tv-recommend .recommendSwiper .swiper-wrapper {
    align-items: stretch;
}

.template-view .tv-recommend .recommendSwiper .swiper-slide {
    height: auto;
}

/* Swiper 초기화 전 FOUC — 슬라이드 수와 무관하게 목록 4열 기준 폭 유지 */
.template-view .tv-recommend .recommendSwiper:not(.swiper-initialized) .swiper-slide {
    flex-shrink: 0;
    width: calc((100% - 12px) / var(--recommend-cols-mobile, 1.2));
    max-width: calc((100% - 12px) / var(--recommend-cols-mobile, 1.2));
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .template-view .tv-recommend .recommendSwiper:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 16px) / var(--recommend-cols-tablet, 2.5));
        max-width: calc((100% - 16px) / var(--recommend-cols-tablet, 2.5));
    }
}

@media (min-width: 1024px) {
    .template-view .tv-recommend .recommendSwiper:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 72px) / var(--recommend-cols-desktop, 4));
        max-width: calc((100% - 72px) / var(--recommend-cols-desktop, 4));
    }
}

.template-view .tv-recommend .recommendSwiper .swiper-slide > .template-card {
    height: 100%;
}

/* 렌트카 홈페이지제작 사례 */
.template-view .tv-cases {
    padding: 80px 0;
    width: 100%;
    box-sizing: border-box;
}

.template-view .tv-cases-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.template-view .tv-cases-head {
    margin-bottom: 36px;
}

.template-view .tv-cases-head-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.template-view .tv-cases-head-text p {
    font-size: 1.2rem;
    line-height: 1.55;
    color: #666;
    word-break: keep-all;
}

.template-view .tv-cases-slider {
    width: 100%;
}

.template-view .tv-cases-slider .casesSwiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 0;
}

.template-view .tv-cases-slider .casesSwiper .swiper-wrapper {
    align-items: stretch;
}

.template-view .tv-cases-slider .casesSwiper .swiper-slide {
    height: auto;
}

/* Swiper 초기화 전 FOUC — 슬라이드 개수에 맞춰 폭 선적용 */
.template-view .casesSwiper:not(.swiper-initialized) .swiper-slide {
    flex-shrink: 0;
    width: calc((100% - 16px) / var(--cases-cols-mobile, 1.15));
    max-width: calc((100% - 16px) / var(--cases-cols-mobile, 1.15));
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .template-view .casesSwiper:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 20px) / var(--cases-cols-tablet, 2));
        max-width: calc((100% - 20px) / var(--cases-cols-tablet, 2));
    }
}

@media (min-width: 1024px) {
    .template-view .casesSwiper:not(.swiper-initialized) .swiper-slide {
        width: calc((100% - 56px) / var(--cases-cols-desktop, 3));
        max-width: calc((100% - 56px) / var(--cases-cols-desktop, 3));
    }
}

.template-view .tv-cases-slider .casesSwiper .swiper-slide > .tv-cases-card {
    height: 100%;
}

.template-view .rentcar-cases-control {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
    width: 100%;
}

.template-view .rentcar-cases-progress {
    flex: 1;
    min-width: 0;
    height: 3px;
    background: #e4e6ea;
    border-radius: 999px;
    overflow: hidden;
}

.template-view .rentcar-cases-progress__bar {
    display: block;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    border-radius: inherit;
    transform: scaleX(0.333333);
    transform-origin: left center;
    transition: transform 0.35s ease;
}

.template-view .rentcar-cases-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.template-view .rentcar-cases-prev,
.template-view .rentcar-cases-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #1a1a1a;
    transition: opacity 0.2s ease;
}

.template-view .rentcar-cases-prev:disabled,
.template-view .rentcar-cases-next:disabled {
    opacity: 0.28;
    cursor: default;
}

.template-view .rentcar-cases-arrow {
    display: block;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.template-view .rentcar-cases-arrow--prev {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.template-view .rentcar-cases-arrow--next {
    transform: rotate(45deg);
    margin-right: 3px;
}

.template-view .rentcar-cases-fraction {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 44px;
    justify-content: center;
    font-size: 0.9375rem;
    line-height: 1;
    color: #888;
    font-variant-numeric: tabular-nums;
}

.template-view .rentcar-cases-current {
    font-weight: 700;
    color: #2563eb;
}

.template-view .rentcar-cases-separator,
.template-view .rentcar-cases-total {
    color: #999;
}

@media (max-width: 768px) {
    .template-view .rentcar-cases-control {
        gap: 12px;
        margin-top: 24px;
    }

    .template-view .rentcar-cases-nav {
        gap: 10px;
    }

    .template-view .rentcar-cases-prev,
    .template-view .rentcar-cases-next {
        width: 32px;
        height: 32px;
    }

    .template-view .rentcar-cases-fraction {
        font-size: 0.875rem;
        min-width: 38px;
    }

    .template-view .tv-recommend {
        margin-bottom: 0;
        padding: 60px 0;
    }

    .template-view .tv-recommend-control {
        gap: 12px;
        margin-top: 24px;
    }

    .template-view .tv-recommend-nav {
        gap: 10px;
    }

    .template-view .tv-recommend-prev,
    .template-view .tv-recommend-next {
        width: 32px;
        height: 32px;
    }

    .template-view .tv-recommend-fraction {
        font-size: 0.875rem;
        min-width: 38px;
    }
}

.template-view .tv-cases-card {
    min-width: 0;
}

.template-view .tv-cases-card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
}

.template-view .tv-cases-card-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.template-view .tv-cases-card-desc {
    margin: 10px 0 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #444;
    word-break: keep-all;
}

.template-view h3.tv-cases-card-title,
.template-view .tv-cases-card-title {
    margin: 14px 0 0;
    padding: 0;
    border: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.45;
    color: #111;
    text-align: left;
    background: none;
    -webkit-text-fill-color: currentColor;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.template-view .tv-cases-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.template-view .tv-cases-building-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.82);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    pointer-events: none;
}

.template-view .tv-cases-card-thumb {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    align-self: stretch;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    background: #e8eaee;
}

.template-view .tv-cases-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
}

.template-view .tv-cases-card-thumb.is-thumb-contain {
    background: #eef8f3;
}

.template-view .tv-cases-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 0;
    margin-top: 8px;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #333;
    word-break: keep-all;
}

.template-view .tv-cases-card-meta .sep {
    width: 1px;
    height: 12px;
    margin: 0 10px;
    background: #d0d4da;
    flex-shrink: 0;
}

.template-view .tv-cases-card-meta .period,
.template-view .tv-cases-card-meta .service {
    color: #555;
}

.template-view .tv-cases-card-meta .period .label {
    color: #777;
    font-weight: 500;
}

.template-view .tv-cases-card-thumb-link:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .template-view .tv-cases {
        padding: 60px 0;
    }

    .template-view .tv-cases-head-text p br {
        display: none;
    }

    .template-view .tv-cases-card-meta {
        font-size: 0.8125rem;
    }
}

.template-rentcar-cta-fixed {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 900;
    max-width: calc(100% - 40px);
    padding: 0 20px;
    box-sizing: border-box;
    transform: translateX(-50%) translateY(calc(100% + 24px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        transform 0.28s ease,
        opacity 0.28s ease,
        visibility 0.28s ease;
}

.template-rentcar-cta-fixed.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.template-rentcar-cta-fixed .btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 999px;
    background: var(--primary, #007bff);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    border: none;
    outline: none;
    box-shadow: 0 10px 28px rgba(0, 123, 255, 0.32);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.template-rentcar-cta-fixed .btn-glass:hover,
.template-rentcar-cta-fixed .btn-glass:focus,
.template-rentcar-cta-fixed .btn-glass:focus-visible {
    background: var(--primary, #007bff);
    color: #fff;
    border: none;
    outline: none;
    transform: translateY(-1px);
}

.template-rentcar-cta-fixed .btn-glass .txt--mob {
    display: none;
}

.template-rentcar-cta-fixed .btn-glass .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.template-rentcar-cta-fixed .btn-glass .arrow svg {
    display: block;
    animation: template-rentcar-cta-arrow-loop 1.4s ease-in-out infinite;
}

@keyframes template-rentcar-cta-arrow-loop {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(6px);
    }
}

@media (max-width: 768px) {
    .template-rentcar-cta-fixed,
    .template-rentcar-cta-fixed.is-visible {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        padding: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .template-rentcar-cta-fixed .btn-glass {
        width: 100%;
        justify-content: center;
        border-radius: 0;
        font-size: 1.4rem;
        padding: 16px 20px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        gap: 12px;
        box-shadow: 0 -4px 20px rgba(0, 123, 255, 0.2);
    }

    .template-rentcar-cta-fixed .btn-glass .txt--pc {
        display: inline;
    }

    .template-rentcar-cta-fixed .btn-glass .txt--mob {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .template-rentcar-cta-fixed {
        transition: none;
    }

    .template-rentcar-cta-fixed .btn-glass .arrow svg {
        animation: none;
    }
}


.template-view .tv-banner {
    padding: 100px 0;
    background: #e3ecff;
    margin-top: 60px;
}

.template-view .tv-banner .desc {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.template-view .tv-banner .desc h2 {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 16px;
}

.template-view .tv-banner .desc p {
    line-height: 1.5;
    font-size: 1.2rem;
    color: #555;
}

.template-view .tv-benefit {
    padding: 120px 0;
}

.template-view .tv-benefit .inner {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}


/* ===== grid ===== */
.template-view .tv-benefit .benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* ===== item ===== */
.template-view .tv-benefit .benefit-item {
    display: flex;
    flex-direction: column;
    /* row → col */
    gap: 1.6rem;
    background: #fff;
    border-radius: 1.2rem;
}

/* image */
.template-view .tv-benefit .benefit-item .img {
    width: 100%;
    height: 360px;
    background: #eee;
    border-radius: 0.8rem;
    overflow: hidden;
}

.template-view .tv-benefit .benefit-item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* text */
.template-view .tv-benefit .benefit-item .txt {
    width: 100%;
}


.template-view .tv-benefit .benefit-item .txt h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.template-view .tv-benefit .benefit-item .txt p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    word-break: keep-all;
}

.template-view .tv-process {
    padding: 120px 0;
    background: rgba(249, 249, 249, 0.5);
}

.template-view .tv-process .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.template-view .tv-process .tv-tabs {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
}

.template-view .tv-process .tv-tabs button {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: .4;
    cursor: pointer;
}

.template-view .tv-process .tv-tabs button.active {
    opacity: 1;
    border-bottom: 2px solid #000;
}

.template-view .tv-process .tv-panel {
    display: none;
    gap: 48px;
    align-items: center;
    /* 🔥 stretch → center */
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fff;
}

.template-view .tv-process .tv-panel.active {
    display: flex;
}

.template-view .tv-process .txt {
    width: 55%;
    padding: 0 40px;
}

.template-view .tv-process .txt h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.template-view .tv-process .txt p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.template-view .tv-process .img {
    flex: 0 0 45%;
    overflow: hidden;
    height: 360px;
    background: #eee;
    border-radius: 16px;
    border-left: 1px solid #eee;
}

.template-view .tv-process .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

@media (max-width: 768px) {
    .template-view .tv-process .tv-panel.active {
        flex-direction: column;
    }

    .template-view .tv-process .img {
        height: 220px;
    }
}

.template-view .tv-faq {
    padding: 72px 0 0;
}

.template-view .tv-faq .inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

.template-view .tv-faq .faq-list {
    margin: 40px auto 0;
    word-break: keep-all;
}

.template-view .tv-faq .faq-list .boxwrap {
    overflow: hidden;
    background: #f1f1f1;
    border-radius: 20px;
    padding: 0 40px;
    margin-bottom: 20px;
}

.template-view .tv-faq .faq-list .question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    cursor: pointer;
}

.template-view .tv-faq .faq-list .question .mark {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    line-height: 50px;
}

.template-view .tv-faq .faq-list .question .tit {
    box-sizing: border-box;
    width: calc(100% - 50px - 30px);
    font-size: 1.2rem;
    color: #000;
    font-weight: 600;
    margin-left: 24px;
    line-height: 1.4;
}

.template-view .tv-faq .faq-list .question .arr {
    width: 30px;
    text-align: center;
}

.template-view .tv-faq .faq-list .question .arr:after {
    display: inline-block;
    content: "";
    width: 12px;
    height: 12px;
    margin-top: 12px;
    border-right: 3px solid #222;
    border-bottom: 3px solid #222;
    transform: rotate(45deg);
    transition: all 0.4s;
}

.template-view .tv-faq .faq-list .question.active .arr:after {
    transform: rotate(225deg) translate(-6px, -6px);
}

.template-view .tv-faq .faq-list .answer {
    display: none;
    padding: 25px 0;
    border-top: 1px solid #ddd;
}

.template-view .tv-faq .faq-list .answer > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.template-view .tv-faq .faq-list .answer > div .mark {
    width: 50px;
    height: 50px;
    background: #505255;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 50px;
}

.template-view .tv-faq .faq-list .answer > div .txt {
    box-sizing: border-box;
    width: calc(100% - 30px);
    font-size: 17px;
    color: #666;
    line-height: 180%;
    margin-left: 24px;
}

.template-view .tv-faq .faq-list .answer > div a {
    font-size: 17px;
    color: #666;
    line-height: 180%;
    display: block;
}

/* ===== 상담 CTA 요약 (/process·/pricing·/benefits 의 *-summary 와 동일 톤) ===== */
.template-view-summary {
    padding: 80px 0;
}

.template-view-summary .inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.template-view-summary .template-view-summary-card {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding: 36px 28px;
    background: linear-gradient(180deg, #f0f5ff 0%, #f9fafb 100%);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    text-align: center;
}

.template-view-summary .sec-title {
    margin-bottom: 24px;
    text-align: center;
}

.template-view-summary .sec-title h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px;
    color: #111827;
}

.template-view-summary .sec-title p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #4b5563;
    margin: 0;
    word-break: keep-all;
}

.template-view-summary .btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #2563eb;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.template-view-summary .btn-primary:hover {
    background: #1d4ed8;
    color: #fff;
}

@media (max-width: 768px) {
    .template-view-summary {
        padding: 80px 0;
    }

    .template-view-summary .template-view-summary-card {
        padding: 28px 18px;
    }

    .template-view-summary .sec-title h2 {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .template-view-summary .sec-title p {
        font-size: 1rem;
    }
}


/* 반응형 */
@media (max-width: 1024px) {
    .template-view .tv-inner {
        grid-template-columns: 1fr;
    }

    .template-view .tv-preview-mo {
        right: 1rem;
        bottom: -3rem;
    }
}

.estimate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 1000;
}

.estimate-modal-inner {
    position: relative;
    width: 60%;
    height: 90%;
    margin: 2% auto;
    background: #fff;
    display: flex;
    flex-direction: column;
    max-width: 820px;
}

.estimate-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.estimate-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 40px;
}

.estimate-content iframe {
    width: 100%;
    height: 100%;
}

.estimate-footer {
    padding: 10px;
    border-top: 1px solid #ddd;
    text-align: right;
    background: #f9f9f9;
}

.estimate-footer button {
    padding: 8px 16px;
    margin-left: 8px;
    border: 1px solid #123c8b;
    background: #214d9f;
    color: #fff;
    cursor: pointer;
}

.estimate-footer .btn-close {
    border-color: #7b7b7b;
    background: #9b9b9b;
}

@media (max-width:1024px) {
    .estimate-modal-inner {
        width: 90%;
    }
}

/* ===== responsive ===== */
@media (min-width:769px) {
    .template-view .mbr {
        display: none;
    }
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    .template-view,
    .template-view .tv-inner,
    .template-view .tv-preview,
    .template-view .tv-preview .thumb-wrap,
    .template-view .tv-preview .tv-preview-pc {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .template-view .tv-info {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .template-view .tv-preview {
        overflow: hidden;
    }

    .template-view .tv-preview .thumb-wrap {
        height: 340px;
        max-width: calc(100vw - 32px);
        overflow-x: hidden;
        overflow-y: auto;
    }

    .template-view .tv-preview .tv-preview-pc {
        overflow: hidden;
    }

    .template-view .tv-preview .tv-preview-pc img {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        object-fit: contain;
        box-sizing: border-box;
    }

    .template-view .tv-benefit,
    .template-view .tv-process {
        padding: 80px 0; 
    }
    
    .template-view .tv-faq {
        padding: 56px 0 0;
    }
    
    .template-view .tv-benefit .benefit-grid {
        grid-template-columns: 1fr;
    }

    .template-view .tv-benefit .benefit-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .template-view .tv-benefit .benefit-item .img {
        width: 100%;
    }

    .template-view .tv-banner {
        padding: 40px 0;
        margin-top: 0;
    }

    .template-view .tv-banner .desc h2 {
        font-size: 1.46em;
    }

    .template-view .tv-banner .desc p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .template-view .mbr {
        display: block;
    }

    .template-view .tv-process .tv-tabs {
        gap: 16px;
    }

    .template-view {
        padding: 100px 0 80px;
    }

    .estimate-content {
        padding: 0 20px;
    }

    .estimate-modal-inner {
        width: 96%;
    }
    
    .template-view .tv-process .tv-tabs button {
        font-size: .9rem;
    }
    
    .template-view .tv-process .tv-panel {
        align-items: flex-start;
        gap:24px;
    }
    
    .template-view .tv-process .txt {
        padding: 20px;
        width: 100%;
    }
    
    .template-view .tv-faq .faq-list .boxwrap {
        padding: 0 20px;
    }
    
    .template-view .tv-faq .faq-list .question .mark {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        font-size: 15px;
    }
    
    .template-view .tv-faq .faq-list .question .tit {
        margin-left: 16px;
    }
}
