/* 더제로 공식 홈페이지 ----------------------------------------------- */

:root {
    --brand: #00aba1;
    --brand-deep: #00807a;
    --brand-dark: #005f59;
    --tile: #e3f5f3;
    --tint: #f2f8f7;
    --gray: #f2f4f4;
    --line: #eef1f1;
    --line-strong: #dde3e2;
    --ink: #222222;
    --body: #555555;
    --muted: #8b9493;
    --container: 1160px;
    --gutter: 40px;
    --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    margin: 0;
    font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4, strong, .btn, .chip, .section__label, .partners__lead, .faq__q, .block-title { word-break: keep-all; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* 제목의 구(句) 단위: 좁은 화면에서 구 안에서는 줄이 끊기지 않게 */
.ph { display: inline-block; }

/* 버튼 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; padding: 0 24px; border-radius: 999px;
    font-size: 16px; font-weight: 600; white-space: nowrap;
    border: 1.5px solid transparent; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--brand-deep); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #f2f4f4; }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); }
.btn--outline-white { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--outline-white:hover { background: rgba(255,255,255,.12); }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: #fff; }
.btn--lg { height: 58px; padding: 0 30px; font-size: 18px; font-weight: 700; }
.btn--sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn svg { flex: 0 0 auto; }

.text-link {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
    font-size: 17px; font-weight: 700; color: var(--brand-deep);
}
.text-link:hover { color: var(--brand-dark); }

/* 섹션 공통 */
.section { padding: 150px 0 140px; }
.section--tint { background: var(--tint); }
.section__label { display: block; font-size: 18px; font-weight: 700; color: var(--brand); margin-bottom: 16px; }
.section__title { font-size: clamp(23px, 3.2vw, 46px); line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; }
.section__lead { font-size: 19px; line-height: 1.7; color: var(--body); margin-top: 20px; }
.section__head { max-width: 760px; }
.section__head--center { margin: 0 auto; text-align: center; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sub-title { font-size: 22px; font-weight: 700; }
.block-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.block-title .sub-title { white-space: nowrap; }

.note { font-size: 14px; color: var(--muted); }
.chip {
    display: inline-flex; align-items: center; font-size: 14px; font-weight: 500;
    color: #3d4a49; background: var(--gray); border-radius: 999px; padding: 7px 14px;
}
.chip--new {
    font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--brand-deep);
    background: var(--tile); padding: 3px 8px;
}
.chip--notice { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--brand-deep); background: #fff; padding: 5px 10px; }
.photo-caption {
    position: absolute; left: 16px; bottom: 14px; font-size: 12px; color: #fff;
    background: rgba(0,0,0,.5); border-radius: 999px; padding: 4px 10px;
}

/* 헤더 ----------------------------------------------------------- */
.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header__logo { display: flex; align-items: center; height: 44px; }
.header__logo img { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
    position: relative; padding: 10px 0; font-size: 16px; font-weight: 500; color: var(--ink);
    transition: color .2s;
}
.nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px;
    background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav a:hover { color: var(--brand-dark); }
.nav a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__toggle {
    display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
    align-items: center; justify-content: center;
}

/* 모바일 드로어 */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
    background: #fff; padding: 24px 24px 32px; display: flex; flex-direction: column; gap: 8px;
    overflow-y: auto;
}
.drawer__close { align-self: flex-end; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.drawer__link {
    display: flex; align-items: center; min-height: 52px; padding: 0 8px;
    font-size: 18px; font-weight: 600; border-radius: 10px;
}
.drawer__link.is-active, .drawer__link:hover { background: var(--tint); color: var(--brand-dark); }
.drawer__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

/* 히어로 --------------------------------------------------------- */
.hero {
    position: relative; min-height: 820px; display: flex; align-items: center;
    background: #1f2e2c; overflow: hidden; color: #fff;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__shade { position: absolute; inset: 0; background: rgba(12, 24, 22, .45); }
.hero__inner {
    position: relative; width: 100%; padding-top: 96px; padding-bottom: 96px;
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center;
}
.hero__title { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.28; font-weight: 700; letter-spacing: -0.02em; }
.hero__sub { margin-top: 28px; font-size: 22px; line-height: 1.6; color: rgba(255,255,255,.92); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero__media { display: flex; justify-content: flex-end; }

.shorts {
    position: relative; width: 320px; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden;
    background: #0f1b1a; box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.shorts__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.shorts__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shorts__play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 76px; height: 76px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.shorts__tag {
    position: absolute; left: 16px; top: 16px; font-size: 12px; font-weight: 600; color: #fff;
    background: rgba(0,0,0,.45); border-radius: 999px; padding: 5px 10px;
}
.shorts__caption { position: absolute; left: 16px; right: 16px; bottom: 16px; font-size: 13px; line-height: 1.5; color: #fff; }

/* 로고 마퀴 ------------------------------------------------------ */
.partners { padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.partners__lead { text-align: center; font-size: 18px; font-weight: 600; }
.marquee { position: relative; overflow: hidden; margin-top: 28px; }
.marquee::before, .marquee::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
    flex: 0 0 auto; width: 150px; height: 44px; border-radius: 10px; background: var(--gray);
    display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* 서비스 개요 ---------------------------------------------------- */
.overview__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 64px; }
.service-card__tile {
    position: relative; height: 380px; border-radius: 20px; overflow: hidden;
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.service-card__tile--teal { background: var(--tile); }
.service-card__tile--tint { background: var(--tint); }
.service-card__tile img { max-width: 82%; max-height: 86%; width: auto; height: auto; object-fit: contain; }
/* 제품 사진의 흰 배경이 타일 색과 섞이도록 */
.service-card__tile--teal img { mix-blend-mode: multiply; }
.service-card__badge {
    position: absolute; left: 20px; top: 20px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
    color: #fff; background: var(--brand-deep); border-radius: 999px; padding: 5px 12px;
}
.service-card__body { padding: 24px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.service-card__label { font-size: 15px; font-weight: 700; color: var(--brand); }
.service-card__title { font-size: clamp(24px, 2.1vw, 30px); font-weight: 700; letter-spacing: -0.02em; }
.service-card__desc { font-size: 18px; line-height: 1.65; color: var(--body); }
.service-card__chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* 기부 흐름 카드 (타일 안의 스테퍼) */
.flow-card {
    width: 100%; background: #fff; border-radius: 18px; padding: 28px 28px 32px;
    box-shadow: 0 12px 32px rgba(0,128,122,.10); display: flex; flex-direction: column; gap: 28px;
}
.flow-card__head { display: flex; flex-direction: column; gap: 2px; }
.flow-card__head strong { font-size: 17px; font-weight: 700; }
.flow-card__head span { font-size: 13px; color: var(--muted); }
.stepper { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stepper::before {
    content: ""; position: absolute; top: 28px; left: calc(100% / 6); right: calc(100% / 6);
    height: 2px; background: #c9e4e1;
}
.stepper__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.stepper__icon {
    width: 56px; height: 56px; border-radius: 999px; background: var(--tile); color: var(--brand-deep);
    display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
    box-shadow: 0 0 0 6px #fff;
}
.stepper__name { font-size: 15px; font-weight: 700; }
.stepper__sub { font-size: 12px; color: #777; }

/* 회사소개 ------------------------------------------------------- */
.company__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.company__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.company__photo { position: relative; height: 440px; border-radius: 20px; overflow: hidden; background: #dde9e7; }
.company__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.company__block { margin-top: 72px; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.timeline__item { display: flex; flex-direction: column; gap: 12px; }
.timeline__rail { display: flex; align-items: center; gap: 10px; }
.timeline__dot { width: 12px; height: 12px; border-radius: 999px; background: var(--brand); flex: 0 0 auto; }
.timeline__item:not(:last-child) .timeline__rail::after { content: ""; flex: 1; height: 2px; background: #c9e4e1; }
.timeline__year { font-size: 22px; font-weight: 700; }
.timeline__text { font-size: 15px; color: var(--body); }
.certs { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 56px; }
.certs .block-title, .gallery .block-title { margin-bottom: 0; }
.certs__list { display: flex; gap: 12px; flex-wrap: wrap; }
.certs__item {
    width: 140px; height: 84px; border-radius: 14px; background: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted);
}

/* 제공 서비스 (탭) ----------------------------------------------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.tab {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px;
    font-size: 17px; font-weight: 700; cursor: pointer;
    background: #fff; color: var(--brand-deep); border: 1.5px solid #bfe3df;
    transition: background-color .2s, color .2s;
}
.tab[aria-selected="true"] { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.tab[aria-selected="true"] .chip--new { background: #fff; }
.tab-panel { display: none; margin-top: 56px; }
.tab-panel.is-active { display: block; }

.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.feature__label { font-size: 15px; font-weight: 700; color: var(--brand); }
.feature__title { margin-top: 18px; font-size: clamp(21px, 2.7vw, 38px); line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; }
.feature__desc { margin-top: 18px; font-size: 19px; line-height: 1.7; color: var(--body); }
.feature__media { position: relative; height: 420px; border-radius: 20px; overflow: hidden; background: var(--tile); }
.feature__media--app { display: flex; align-items: flex-end; justify-content: center; padding-top: 32px; }
.feature__media--app img { max-width: 72%; max-height: calc(100% - 32px); width: auto; height: auto; object-fit: contain; object-position: bottom; }
.feature__media--photo { background: #dde9e7; }
.feature__media--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 번호 매긴 단계 */
.steps { margin-top: 64px; }
.steps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 24px; }
.step { background: var(--tint); border-radius: 20px; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.step__num {
    width: 40px; height: 40px; border-radius: 999px; background: var(--brand-deep); color: #fff;
    font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.step__name { font-size: 22px; font-weight: 700; }
.step__desc { font-size: 15px; line-height: 1.6; color: var(--body); }
.steps--cards { margin-top: 0; }
.steps--cards .steps__list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.steps--cards .step { background: #fff; border-radius: 16px; padding: 24px; gap: 8px; }
.steps--cards .step__num { width: auto; height: auto; background: transparent; color: var(--brand); justify-content: flex-start; }
.steps--cards .step__name { font-size: 20px; }
.steps--cards + .note { display: block; margin-top: 20px; }

.flow { margin-top: 64px; }
.flow__board {
    margin-top: 24px; border-radius: 20px; background: var(--tint); padding: 40px;
    display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.flow-arrow { color: #9ccfc9; flex: 0 0 auto; display: flex; }
.flow__node {
    width: 170px; background: #fff; border-radius: 16px; padding: 20px;
    display: flex; flex-direction: column; gap: 6px; box-shadow: 0 8px 24px rgba(0,128,122,.08);
}
.flow__node--system { width: 190px; background: var(--brand-deep); color: #fff; }
.flow__who { font-size: 13px; font-weight: 700; color: var(--brand); }
.flow__node--system .flow__who { color: #bfe3df; }
.flow__what { font-size: 17px; font-weight: 700; }
.flow__sub { font-size: 13px; color: #777; }
.flow__node--system .flow__sub { color: #d5efec; }

.gallery { margin-top: 64px; }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.gallery__item {
    height: 240px; border-radius: 16px; background: var(--gray);
    display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted);
}

/* 탄소중립포인트제 ----------------------------------------------- */
.carbon__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: stretch; margin-top: 56px; }
.program {
    background: #fff; border-radius: 20px; padding: 40px;
    display: flex; flex-direction: column; gap: 18px; justify-content: space-between;
}
.program__body { display: flex; flex-direction: column; gap: 14px; }
.program__label { font-size: 14px; font-weight: 700; color: var(--brand); }
.program__title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.program__desc { font-size: 16px; line-height: 1.7; color: var(--body); }
.program__infographic {
    height: 150px; border-radius: 14px; background: var(--gray);
    display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted);
}

/* 알림 ----------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 48px; }
.news-card {
    background: var(--tint); border-radius: 16px; padding: 28px 26px 24px; min-height: 190px;
    display: flex; flex-direction: column; gap: 14px;
}
.news-card__title { font-size: 18px; font-weight: 700; line-height: 1.5; word-break: keep-all; }
.news-card__title:hover { color: var(--brand-dark); }
.news-card__date { margin-top: auto; font-size: 13px; color: var(--muted); }
.notice__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; margin-top: 64px; }
.notice__heading { margin-bottom: 16px; }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%;
    min-height: 60px; padding: 16px 0; border: 0; background: transparent; text-align: left;
    font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.faq__q > span { display: flex; gap: 10px; align-items: center; }
.faq__tag { font-size: 12px; font-weight: 700; color: var(--brand-deep); background: var(--tile); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.faq__q svg { flex: 0 0 auto; transition: transform .2s; }
.faq__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq__a { display: none; padding: 0 32px 18px 0; font-size: 15px; line-height: 1.7; color: var(--body); }
.faq__item.is-open .faq__a { display: block; }
.faq__more { margin-top: 16px; font-size: 15px; }

.support { background: var(--ink); color: #fff; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.support .sub-title { margin-bottom: 4px; }
.support__hours { font-size: 14px; color: #b5bdbc; }
.support__list { display: flex; flex-direction: column; gap: 14px; }
.support__list dt { font-size: 12px; color: var(--muted); }
.support__list dd { margin: 0; font-size: 17px; font-weight: 600; }
.support__list dd.support__phone { font-size: 20px; font-weight: 700; }
.support__list dd.support__addr { font-size: 15px; font-weight: 400; }

/* 도입문의 ------------------------------------------------------- */
.inquiry__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.form { background: #fff; border-radius: 24px; padding: 44px; display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 14px; font-weight: 700; padding: 0; }
.field .req { color: var(--brand); }
.field .opt { font-weight: 400; color: var(--muted); }
.field > input, .field > textarea {
    width: 100%; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 12px;
    font-size: 16px; font-family: inherit; color: var(--ink); background: #fff;
    transition: border-color .2s;
}
.field > input { height: 52px; }
.field > textarea { padding: 14px 16px; resize: vertical; min-height: 120px; }
.field > input:focus, .field > textarea:focus { outline: none; border-color: var(--brand); }
.field > input:user-invalid, .field > textarea:user-invalid { border-color: #d64545; }
.field fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.radio-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.radio-pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px;
    border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 500;
    color: var(--body); cursor: pointer; white-space: nowrap; transition: all .2s;
}
.radio-pill input { width: 16px; height: 16px; margin: 0; accent-color: var(--brand-deep); }
.radio-pill:has(input:checked) { border-color: var(--brand-deep); background: var(--tile); color: var(--brand-deep); font-weight: 600; }
.agree { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--body); min-height: 44px; cursor: pointer; }
.agree input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand-deep); }
.agree a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.form__submit { height: 58px; font-size: 17px; font-weight: 700; }
.form__submit[disabled] { opacity: .6; cursor: default; }
.form__note { text-align: center; font-size: 13px; color: var(--muted); }

.toast {
    position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); z-index: 70;
    padding: 14px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500;
    opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100vw - 40px); text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast--error { background: #d64545; }

/* 푸터 ----------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 48px; font-size: 14px; color: var(--body); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand img { height: 20px; width: auto; align-self: flex-start; }
.footer__tagline { color: var(--muted); }
.footer__info { display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.7; color: #777; }
.footer__col h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.footer__col a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.footer__col a:hover { color: var(--brand-dark); }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; color: var(--muted); }

/* 반응형 --------------------------------------------------------- */
@media (max-width: 1024px) {
    :root { --gutter: 24px; --header-h: 64px; --shorts-overlap: 150px; }
    .nav, .header__actions .btn--outline { display: none; }
    .header__toggle { display: flex; }
    .section { padding: 96px 0; }
    .section__lead { font-size: 17px; }

    /* 모바일 히어로: 사진 위에 글과 버튼, 숏츠 프레임은 히어로 아래 흰 영역에 --shorts-overlap 만큼 걸친다 */
    .hero { min-height: 0; align-items: flex-end; overflow: visible; }
    .hero__bg { object-position: 62% 50%; }
    .hero__shade { background: linear-gradient(180deg, rgba(12,24,22,.1) 0%, rgba(12,24,22,.75) 100%); }
    .hero__inner { grid-template-columns: 1fr; padding-top: 220px; padding-bottom: 0; gap: 36px; }
    .hero__sub { font-size: 18px; margin-top: 20px; }
    .hero__actions { margin-top: 28px; }
    .hero__actions .btn { flex: 1 1 200px; }
    .hero__media { justify-content: center; margin-bottom: calc(-1 * var(--shorts-overlap)); }
    .shorts { width: 220px; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
    .partners { padding-top: calc(var(--shorts-overlap) + 40px); }

    .overview__grid, .company__top, .feature, .carbon__grid, .inquiry__grid, .notice__grid { grid-template-columns: 1fr; }
    .overview__grid { gap: 48px; }
    .notice__grid { gap: 48px; }
    .service-card__tile { height: 300px; }
    .company__photo { height: 300px; }
    .feature { gap: 32px; }
    .feature__media { height: 320px; }
    .form { padding: 28px; }
    .form__row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
    .hero__inner { padding-top: 180px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .partners__lead { font-size: 16px; }
    /* 좁은 화면에서는 강제 줄바꿈을 없애고 구 단위로 흐르게 한다 (마크업의 br 앞 공백이 구 사이를 띄운다) */
    .section__title br, .service-card__title br, .feature__title br { display: none; }
    .section__title, .feature__title, .service-card__title { letter-spacing: -0.03em; }
    .service-card__tile { height: auto; min-height: 240px; padding: 56px 16px 20px; }
    .flow-card { padding: 22px 16px 24px; gap: 22px; }
    .stepper__icon { width: 48px; height: 48px; }
    .stepper::before { top: 24px; }
    .stepper__name { font-size: 14px; }
    .stepper__sub { font-size: 11px; }
    .timeline__item .timeline__rail::after { display: none; }
    .step { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 20px; align-items: center; }
    .step__num { grid-row: 1 / span 2; }
    .step__name { font-size: 19px; }
    .steps--cards .step { display: flex; align-items: flex-start; }
    .flow__board { flex-direction: column; padding: 24px; }
    .flow__node { width: 100%; }
    .flow-arrow { transform: rotate(90deg); }
    .news-grid { gap: 12px; }
    .news-card { min-height: 0; padding: 20px; gap: 10px; }
    .tab { width: 100%; }
    .radio-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
