/* 평화시스템에어컨 — 공통 / PC 스타일 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');

:root {
    --ink: #102d50;
    --muted: #566a81;
    --blue: #0961ce;
    --navy: #092f65;
    --line: #dfe8f1;
    --soft: #f4f8fc;
    --radius: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif; color: var(--ink); background: #fff; line-height: 1.65; -webkit-text-size-adjust: 100%; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #1b77dc; outline-offset: 4px; }
svg { display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.center { text-align: center; }

/* 기존 header.php / footer.php의 클래스 유지 */
.topbar { background: #0a2b51; color: #d8e5f4; font-size: 12px; }
.topin { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topin a { color: inherit; text-decoration: none; }
.header { height: 84px; position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.nav { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--navy); text-decoration: none; line-height: 1.25; }
.brandmark { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: #0758bd url('/assets/icons/aircon.svg') center / 32px 32px no-repeat; font-size: 0; }
.brand b { font-size: 23px; font-weight: 900; letter-spacing: -1px; }
.brand small { display: block; margin-top: 4px; color: #66778a; font-size: 11px; font-weight: 500; letter-spacing: .2px; }
/* 제공받은 로고 원본: 바깥 흰 여백만 표시 영역 밖으로 감춥니다. */
.header .brand.ph-site-brand, header .brand.ph-site-brand {
    --ph-logo-width: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    text-shadow: none;
}
.ph-site-brand::before, .ph-site-brand::after,
.ph-site-brand > .ph-brand__mark::before, .ph-site-brand > .ph-brand__mark::after,
.ph-site-brand > .ph-brand__copy::before, .ph-site-brand > .ph-brand__copy::after {
    content: none !important;
    display: none !important;
}
.ph-site-brand > .ph-brand__mark {
    position: relative;
    display: block;
    flex: 0 0 var(--ph-logo-width);
    width: var(--ph-logo-width);
    height: auto;
    aspect-ratio: 46 / 37;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.ph-site-brand .ph-brand__mark > .ph-brand__image {
    position: absolute;
    display: block;
    top: -14.8648649%;
    left: -38.0434783%;
    width: 166.9565217%;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    transform: none;
    box-shadow: none;
    filter: none;
}
.ph-site-brand > .ph-brand__copy { display: block; min-width: 0; }
.ph-site-brand .ph-brand__copy > b { display: block; white-space: nowrap; }
.ph-site-brand .ph-brand__copy > small { display: block; white-space: nowrap; }
.nav nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav nav a { color: #3b4c61; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; padding: 12px 0; }
.nav nav a:hover { color: var(--blue); }
.header-call { flex-shrink: 0; padding: 11px 16px; border-radius: 10px; color: #fff; background: var(--blue); text-decoration: none; font-size: 13px; font-weight: 800; white-space: nowrap; }
.menu { display: none; }

/* 메인: 글자가 포함된 배너는 배경 cover 대신 picture로 비율을 유지합니다. */
.home-hero { background: #eaf6ff; }
.home-hero__link { display: block; max-width: 1600px; margin: 0 auto; }
.home-hero__link picture, .home-hero__link img { display: block; width: 100%; }
.home-hero__link img { height: auto; aspect-ratio: 1939 / 811; object-fit: contain; }
.home-hero__link:focus-visible { outline-offset: -5px; }
.hero-bottom { background: #fff; border-bottom: 1px solid var(--line); }
.hero-bottom__inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-bottom p { display: flex; align-items: center; flex-wrap: wrap; column-gap: 7px; margin: 0; color: var(--muted); font-size: 15px; }
.hero-bottom p strong { color: var(--ink); font-weight: 700; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #119478; box-shadow: 0 0 0 4px #e8f7f1; }
.hero-actions { display: flex; flex-shrink: 0; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .18s, box-shadow .18s; }
.btn svg { width: 17px; height: 17px; flex: 0 0 17px; }
.primary { color: #fff; background: var(--blue); }
.primary:hover { background: #074ca4; }
.light { color: var(--navy); background: #fff; border-color: #cbd9e9; }
.light:hover { background: #edf5ff; }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 35px; padding-bottom: 35px; }
.trust-grid > div { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 15px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; padding-right: 0; }
.ph-trust-icon { display: grid; place-items: center; flex: 0 0 50px; width: 50px; height: 50px; border-radius: 15px; background: #edf5ff; color: var(--blue); }
.ph-trust-icon svg { width: 25px; height: 25px; }
/* 기존 icons.css의 사각형 / 가상요소가 새 아이콘과 중복되지 않게 합니다. */
.home-page .ph-trust-icon,
.home-page .ph-list-icon,
.home-page .ph-service-icon,
.home-page .ph-process-icon,
.home-page .ph-items-icon {
    background-image: none;
    box-shadow: none;
    text-shadow: none;
    -webkit-mask: none;
    mask: none;
}
.home-page .ph-trust-icon::before, .home-page .ph-trust-icon::after,
.home-page .ph-list-icon::before, .home-page .ph-list-icon::after,
.home-page .ph-service-icon::before, .home-page .ph-service-icon::after,
.home-page .ph-process-icon::before, .home-page .ph-process-icon::after,
.home-page .ph-items-icon::before, .home-page .ph-items-icon::after {
    content: none !important;
    display: none !important;
}
.home-page .ph-trust-icon {
    display: grid;
    place-items: center;
    align-self: center;
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--blue);
    background-color: #edf5ff;
    line-height: 1;
}
.home-page .ph-trust-icon > svg,
.home-page .ph-list-icon > svg,
.home-page .ph-service-icon > svg,
.home-page .ph-process-icon > svg,
.home-page .ph-items-icon > svg {
    position: static;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    transform: none;
    filter: none;
    fill: none;
    stroke: currentColor;
}
.trust-grid b, .trust-grid div > span:not(.ph-trust-icon) { display: block; }
.trust-grid b { font-size: 16px; letter-spacing: -.5px; }
.trust-grid div > span:not(.ph-trust-icon) { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.65; }

.home-page { word-break: keep-all; overflow-wrap: break-word; }
.section { padding: 100px 0; scroll-margin-top: 20px; }
.label { display: inline-block; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 2px; line-height: 1.5; }
.section h2 { margin: 15px 0 18px; font-size: clamp(28px, 3vw, 38px); line-height: 1.4; letter-spacing: -1.7px; font-weight: 800; }
.section h2 em { color: var(--blue); font-style: normal; }
.section h3 { font-size: 23px; line-height: 1.5; letter-spacing: -.8px; }
.section-heading { margin-bottom: 40px; }
.section-heading p, .lead { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.two { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.checklist { display: grid; gap: 23px; margin: 32px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; }
.ph-list-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid #dfeaf7; border-radius: 12px; color: var(--blue); background: #f6f9fd; }
.ph-list-icon svg { width: 21px; height: 21px; }
.checklist b { display: block; font-size: 15px; font-weight: 700; }
.checklist li div > span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.about-summary { padding: 40px; border: 1px solid #dfeaf7; border-radius: 24px; background: #f4f8fe; }
.about-summary__caption { color: #557393; font-size: 13px; font-weight: 600; }
.about-summary h3 { margin: 14px 0 30px; font-size: 29px; line-height: 1.45; color: var(--navy); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stats > div { padding: 22px 18px; background: #fff; border: 1px solid #e2ebf5; border-radius: 14px; }
.stats b { display: block; color: var(--blue); font-size: clamp(26px, 2.6vw, 35px); font-weight: 800; letter-spacing: -1.2px; white-space: nowrap; }
.stats b span { margin-left: 4px; font-size: 13px; font-weight: 700; letter-spacing: -.3px; }
.stats > div > span { color: #566d86; font-size: 12px; }
.about-summary__note { display: flex; align-items: center; gap: 8px; margin: 25px 0 0; color: #4a6480; font-size: 12px; }
.about-summary__note svg { width: 18px; height: 18px; flex: 0 0 18px; color: #139377; }

.services, .process, .board-preview { background: var(--soft); }
.ac-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ac-service-card { display: flex; flex-direction: column; min-width: 0; padding: 36px; border: 1px solid #d6e4f4; border-radius: var(--radius); }
.ac-service-card--buy { color: var(--ink); background: #fff; --service-text: #566a81; --service-tick: #0b8a76; --service-button-bg: #0961ce; --service-button-hover: #074ca4; --service-button-text: #fff; }
.ac-service-card--remove { color: #fff; background: #0c366e; border-color: #0c366e; --service-text: #d5e4f6; --service-tick: #81e4cc; --service-button-bg: #fff; --service-button-hover: #e4effe; --service-button-text: #0c366e; }
.ac-service-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.ph-service-icon { display: grid; place-items: center; width: 47px; height: 47px; flex: 0 0 47px; color: var(--blue); background: #edf5ff; border-radius: 13px; }
.ph-service-icon svg { width: 26px; height: 26px; }
.ac-service-card--remove .ph-service-icon { color: #fff; background: #234d81; }
.card-category { color: var(--service-text); font-size: 12px; font-weight: 600; }
.ac-service-card h3 { margin: 0 0 14px; color: inherit; font-size: 25px; font-weight: 800; }
.ac-service-card p { margin: 0 0 23px; color: var(--service-text); font-size: 14px; line-height: 1.9; }
.ac-service-card ul { display: grid; gap: 10px; margin: 0 0 32px; padding: 0; list-style: none; }
.ac-service-card li { position: relative; padding-left: 24px; color: var(--service-text); font-size: 14px; font-weight: 600; }
.ac-service-card li::before { content: ''; position: absolute; top: .48em; left: 2px; width: 10px; height: 6px; border: solid var(--service-tick); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.ac-service-badge { margin-left: auto; padding: 4px 9px; border-radius: 5px; color: #1c426d; background: #f9d26b; font-size: 10px; font-weight: 800; letter-spacing: .7px; }
.ac-service-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin-top: auto; padding: 14px 19px; border-radius: 10px; color: var(--service-button-text); background: var(--service-button-bg); font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .18s; }
.ac-service-button svg { width: 19px; height: 19px; }
/* 기존 아이콘 CSS의 가상 화살표를 제거하고 SVG 한 개만 오른쪽에 정렬합니다. */
.home-page .ac-service-grid .ac-service-button::before,
.home-page .ac-service-grid .ac-service-button::after {
    content: none !important;
    display: none !important;
}
.home-page .ac-service-grid .ac-service-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
}
.home-page .ac-service-grid .ac-service-button > svg {
    position: static;
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0 0 0 auto;
    padding: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transform: none;
    background: none;
    box-shadow: none;
    filter: none;
}
.ac-service-button:hover { color: var(--service-button-text); background: var(--service-button-hover); }
.ac-service-card--remove a:focus-visible { outline-color: #a9ceff; }
.items { margin-top: 24px; padding: 30px 36px; background: #fff; border: 1px solid #e1e9f2; border-radius: var(--radius); }
.items__heading { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.items__heading h3 { margin: 0; font-size: 16px; letter-spacing: -.4px; }
.ph-items-icon { color: var(--blue); }
.ph-items-icon svg { width: 20px; height: 20px; }
.detail-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.detail-list span { padding: 10px 8px; border-radius: 8px; text-align: center; color: #426184; background: #f1f6fc; font-size: 13px; }

.section-heading--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-heading--row h2 { margin-bottom: 0; }
.section-heading--row p { font-size: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gallery-card { min-width: 0; margin: 0; overflow: hidden; background: #edf2f8; border: 1px solid var(--line); border-radius: 16px; }
.gallery-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; color: #586e85; font-size: 14px; }
.gallery-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 17px 22px; background: #fff; font-size: 13px; }
.gallery-card figcaption b { color: #8298b0; font-size: 11px; font-weight: 600; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.process-item { min-width: 0; position: relative; padding: 28px 20px; border: 1px solid #e1e9f2; border-radius: 16px; background: #fff; text-align: center; }
.process-item:not(:last-child)::after { content: '›'; position: absolute; z-index: 1; right: -21px; top: 48%; width: 22px; color: #7991ad; font-size: 28px; line-height: 1; }
.process-badge { position: absolute; top: 16px; left: 18px; color: #8199b3; font-size: 11px; font-weight: 700; }
.ph-process-icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 12px auto 22px; background: #edf5ff; border-radius: 18px; color: var(--blue); }
.ph-process-icon svg { width: 28px; height: 28px; }
.process-item h3 { margin: 0 0 11px; font-size: 17px; letter-spacing: -.6px; }
.process-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }

.cta { padding: 74px 0; color: #fff; background: #082e62; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.cta__label { color: #a9cbed; font-size: 12px; font-weight: 600; letter-spacing: .5px; }
.cta h2 { margin: 13px 0 14px; color: #fff; font-size: 32px; line-height: 1.45; letter-spacing: -1px; }
.cta p { margin: 0; color: #bdd1e8; font-size: 14px; }
.cta__contact { flex-shrink: 0; text-align: center; }
.cta__contact a { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 76px; padding: 18px 28px; border-radius: 14px; color: #0a356d; background: #fff; font-size: 29px; font-weight: 800; letter-spacing: -1px; text-decoration: none; white-space: nowrap; }
.cta__contact a svg { width: 26px; height: 26px; flex: 0 0 26px; }
.cta__contact > span { display: block; margin-top: 12px; color: #a9c1dd; font-size: 12px; }
.cta a:focus-visible { outline-color: #b6d8ff; }
.mobile-contact { display: none; }
.floating-call { position: fixed; z-index: 45; right: 22px; bottom: 22px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 26px; text-decoration: none; box-shadow: 0 8px 24px #10386733; }
.floating-call span { display: none; }
footer { color: #aabdd3; background: #071e3c; }
.foot { display: flex; justify-content: space-between; gap: 30px; padding-top: 40px; padding-bottom: 40px; }
.foot b { color: #fff; font-size: 17px; }
.foot a { color: #fff; text-decoration: none; font-size: 22px; font-weight: 800; }
.foot p { margin: 10px 0 0; font-size: 12px; line-height: 1.9; }
.copyright { padding: 18px 22px; border-top: 1px solid #ffffff14; text-align: center; font-size: 11px; }

/* 기존 게시판 / 로그인 / 글쓰기 화면에서 사용하는 클래스 */
.subpage { max-width: 760px; margin: 70px auto; min-height: 420px; }
.wide { max-width: 1000px; }
.form { display: grid; gap: 12px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.form input, .form textarea, .search input { min-width: 0; padding: 12px; border: 1px solid #cfd9e5; border-radius: 7px; font: inherit; }
.form textarea { resize: vertical; }
.search { display: flex; gap: 8px; margin-bottom: 15px; }
.search input { flex: 1; }
.pagehead { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.table { background: #fff; border-top: 2px solid var(--navy); }
.tr { display: grid; grid-template-columns: 65px minmax(0, 1fr) 100px 100px 60px; gap: 8px; padding: 13px; border-bottom: 1px solid var(--line); color: #35465c; text-decoration: none; font-size: 13px; }
.tr > span { min-width: 0; overflow-wrap: anywhere; }
.th { font-weight: 800; background: #f7f9fc; }
.empty { padding: 50px 20px; text-align: center; color: #738399; }
.pagination { padding: 25px; text-align: center; }
.pagination a { display: inline-block; padding: 7px 11px; color: #4c6179; text-decoration: none; }
.pagination .on { border-radius: 6px; background: var(--navy); color: #fff; }
.post { margin-bottom: 20px; padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.post h1 { margin-top: 0; overflow-wrap: anywhere; }
.meta { padding-bottom: 15px; border-bottom: 1px solid var(--line); color: #6e8095; font-size: 12px; }
.content { min-height: 200px; padding: 30px 0; line-height: 1.9; overflow-wrap: anywhere; }
.content img { height: auto; }
.error { margin-bottom: 12px; padding: 12px; border-radius: 6px; color: #a82020; background: #fff0f0; }
.linkbtn { padding: 0; color: #175ec2; background: none; border: 0; font: inherit; cursor: pointer; }
.linkbtn.danger { color: #b42323; }
.notice-box { max-width: 820px; margin: 35px auto 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.notice-box a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 22px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.notice-box a:last-child { border-bottom: 0; }
.notice-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-meta { flex: none; color: #718399; font-size: 12px; }
.board-more { margin-top: 25px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .ac-service-button { transition: none; }
}
