﻿@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap");

:root{
    --ink:#1f2a24;
    --muted:#68736d;
    --line:#dfe8e2;
    --paper:#ffffff;
    --soft:#f5f8f5;
    --green:#23893f;
    --green-dark:#136b30;
    --green-soft:#eef8f0;
    --red:#ce1f2b;
    --navy:#17324a;
    --orange:#e85d04;
    --warning:#a16207;
    --danger:#b42318;
    --shadow:0 18px 48px rgba(19,107,48,0.13);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:"Noto Sans KR","Pretendard","Apple SD Gothic Neo",Arial,sans-serif;
    color:var(--ink);
    background:var(--paper);
    line-height:1.65;
    letter-spacing:0;
    font-weight:400;
    word-break:keep-all;
    overflow-wrap:break-word;
}
a{color:inherit}
button,input,select,textarea{font:inherit}
h1,h2,h3,h4,summary{
    word-break:keep-all;
    overflow-wrap:break-word;
    text-wrap:balance;
}
p,li,dd,dt,span,strong,label{
    word-break:keep-all;
    overflow-wrap:break-word;
    text-wrap:pretty;
}
button,.button,.site-nav a,.topbar span,.footer-meta span,.hero-metrics span{
    word-break:keep-all;
    overflow-wrap:normal;
    text-wrap:nowrap;
}
.container{
    width:min(1180px, calc(100% - 40px));
    margin:0 auto;
}
.narrow{width:min(860px, calc(100% - 40px))}

.topbar{
    background:var(--green-dark);
    color:#e8f4eb;
    font-size:13px;
}
.topbar-inner{
    min-height:38px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
}
.site-header{
    position:sticky;
    top:0;
    z-index:40;
    background:rgba(255,255,255,0.96);
    border-bottom:1px solid rgba(223,232,226,0.95);
    backdrop-filter:blur(14px);
}
.nav-inner{
    min-height:92px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}
.brand{
    display:flex;
    align-items:center;
    gap:14px;
    color:var(--ink);
    font-size:18px;
    font-weight:700;
    text-decoration:none;
    min-width:max-content;
}
.brand-logo{
    width:124px;
    height:64px;
    display:block;
    flex:0 0 auto;
    object-fit:contain;
}
.brand small{
    display:block;
    margin-top:2px;
    color:var(--muted);
    font-size:12px;
    font-weight:500;
}
.brand-mark{display:none}
.site-nav{
    display:flex;
    align-items:center;
    gap:20px;
    font-size:15px;
    font-weight:600;
}
.site-nav a{
    color:#26312b;
    text-decoration:none;
    white-space:nowrap;
}
.site-nav a:hover,.site-nav a.active{color:var(--green)}
.admin-entry{
    padding:9px 12px;
    border:1px solid var(--line);
    border-radius:8px;
    background:var(--soft);
}

.hero{
    min-height:640px;
    display:flex;
    align-items:center;
    color:white;
    background:url("/public/background.png") center/cover;
}
.hero-inner{
    display:block;
    padding:88px 0 104px;
}
.hero-copy{
    width:820px;
    max-width:100%;
    padding:28px 30px 34px 58px;
    border:1px solid rgba(255,255,255,0.22);
    border-radius:8px;
    background:rgba(0,0,0,0.32);
    box-shadow:0 20px 54px rgba(0,0,0,0.28);
    backdrop-filter:blur(2px);
}
.eyebrow,.kicker{
    display:inline-flex;
    align-items:center;
    width:max-content;
    max-width:100%;
    padding:8px 12px;
    border-radius:8px;
    font-size:13px;
    font-weight:600;
}
.hero .eyebrow,.sub-hero .eyebrow{
    border:1px solid rgba(255,255,255,0.28);
    background:rgba(255,255,255,0.11);
    color:white;
}
.kicker,.section-title span{
    color:var(--green-dark);
    background:var(--green-soft);
}
.hero h1{
    position:relative;
    display:inline-block;
    max-width:820px;
    margin:24px 0 20px;
    font-size:58px;
    line-height:1.12;
    letter-spacing:0;
    font-weight:700;
    text-shadow:0 2px 8px rgba(0,0,0,0.72);
}
.headline-lines{display:inline-block}
.quote-open{
    position:absolute;
    right:100%;
    margin-right:8px;
}
.quote-close{margin-left:6px}
.hero p{
    max-width:720px;
    margin:0 0 30px;
    color:white;
    font-size:20px;
    font-weight:400;
    text-shadow:0 1px 6px rgba(0,0,0,0.68);
}
.hero-actions,.cta-actions,.form-actions,.section-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    align-items:center;
}
.button{
    min-height:46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    border-radius:8px;
    border:1px solid transparent;
    font-weight:600;
    text-decoration:none;
    cursor:pointer;
    transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.button:hover{transform:translateY(-1px)}
.button-primary{background:var(--green);color:white}
.button-primary:hover{background:var(--green-dark)}
.button-secondary{background:rgba(255,255,255,0.12);border-color:rgba(255,255,255,0.34);color:white}
.button-outline{background:white;border-color:var(--line);color:var(--green-dark)}
.button-outline:hover{border-color:var(--green);color:var(--green)}
.button-light{background:white;color:var(--green-dark)}
.button-small{min-height:38px;padding:8px 12px;font-size:14px}
.hero-metrics{
    display:grid;
    grid-template-columns:repeat(3, minmax(130px, 1fr));
    width:720px;
    max-width:100%;
    gap:1px;
    margin-top:42px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.2);
    border-radius:8px;
    background:rgba(255,255,255,0.18);
}
.hero-metrics span{
    display:grid;
    gap:2px;
    padding:18px 20px;
    background:rgba(8,38,22,0.28);
    color:#dcebe1;
    font-size:14px;
}
.hero-metrics strong{
    color:white;
    font-size:28px;
    line-height:1;
    font-weight:700;
}

.sub-hero{
    color:white;
    background:
        linear-gradient(90deg, rgba(14,54,32,0.94), rgba(14,54,32,0.74)),
        url("https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?auto=format&fit=crop&w=1800&q=82") center/cover;
}
.sub-hero .container{padding:86px 0 94px}
.sub-hero h1{
    max-width:840px;
    margin:22px 0 14px;
    font-size:44px;
    line-height:1.2;
    font-weight:700;
}
.sub-hero p{
    max-width:760px;
    margin:0;
    color:#e8f4eb;
    font-size:18px;
}

.section{padding:92px 0}
.section.muted{background:var(--soft)}
.overview-section{background:white}
.section-title{margin-bottom:34px}
.section-title span{
    display:inline-flex;
    padding:7px 11px;
    border-radius:8px;
    font-size:13px;
    font-weight:600;
}
.section-title h2{
    max-width:760px;
    margin:15px 0 10px;
    color:var(--ink);
    font-size:36px;
    line-height:1.28;
    font-weight:700;
}
.section-title p{
    max-width:760px;
    margin:0;
    color:var(--muted);
}
.split{
    display:grid;
    grid-template-columns:1.03fr .97fr;
    gap:44px;
    align-items:center;
}
.lead{
    margin:0;
    color:#3e4a43;
    font-size:17px;
}
.lead + .lead{margin-top:16px}
.overview-panel{
    border-left:4px solid var(--green);
    background:linear-gradient(180deg,#ffffff,var(--green-soft));
    padding:30px;
    box-shadow:var(--shadow);
}
.overview-panel dl{
    display:grid;
    gap:0;
    margin:0;
}
.overview-panel div{
    display:grid;
    grid-template-columns:120px 1fr;
    gap:18px;
    padding:14px 0;
    border-bottom:1px solid var(--line);
}
.overview-panel div:last-child{border-bottom:0}
.overview-panel dt{
    color:var(--green-dark);
    font-size:13px;
    font-weight:600;
}
.overview-panel dd{
    margin:0;
    color:var(--ink);
    font-weight:500;
}

.card-grid{
    display:grid;
    gap:18px;
}
.card-grid.four{grid-template-columns:repeat(4,1fr)}
.info-card,.line-card,.process-grid article,.service-item,.form-panel,.contact-side,.value-list article{
    background:white;
    border:1px solid var(--line);
    border-radius:8px;
    padding:24px;
}
.business-grid .info-card{
    min-height:210px;
    border-top:3px solid var(--green);
}
.info-card h3,.line-card h3,.service-item h3,.process-grid h3{
    margin:0 0 10px;
    color:var(--ink);
    font-size:20px;
    line-height:1.35;
    font-weight:700;
}
.info-card p,.line-card p,.service-item p,.process-grid p{
    margin:0;
    color:var(--muted);
}
.stack{display:grid;gap:14px}
.line-card{
    display:grid;
    grid-template-columns:180px 1fr;
    gap:18px;
    align-items:start;
}
.image-panel{
    min-height:500px;
    border-radius:8px;
    background:
        linear-gradient(180deg, rgba(35,137,63,0.05), rgba(35,137,63,0.2)),
        url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1200&q=82") center/cover;
    box-shadow:var(--shadow);
}
.corporate-image{
    background-color:#f7fbf4;
    background-image:url("/public/%EB%A9%94%EC%9D%B8%ED%8E%98%EC%9D%B4%EC%A7%80%20%EC%9D%BC%EB%9F%AC%EC%8A%A4%ED%8A%B8.png");
    background-position:center;
    background-repeat:no-repeat;
    background-size:contain;
}
.value-list{
    display:grid;
    gap:14px;
}
.value-list article{
    display:grid;
    grid-template-columns:150px 1fr;
    gap:18px;
    align-items:start;
}
.value-list article strong{
    display:block;
    color:var(--green-dark);
    font-size:19px;
    line-height:1.4;
    font-weight:700;
}
.value-list article span{color:var(--muted)}

.service-list{
    display:grid;
    gap:16px;
}
.service-item{
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:24px;
    align-items:start;
}
.service-item ul{margin:0;padding-left:20px;color:#3e4a43}
.service-item li{margin:6px 0}

.process-band{background:white}
.linked-sites-section{padding-top:78px}
.process-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:16px;
}
.process-grid.compact{grid-template-columns:repeat(4,1fr)}
.process-grid article{
    position:relative;
    min-height:220px;
}
.process-grid span{
    display:block;
    color:var(--green);
    font-size:24px;
    line-height:1;
    font-weight:700;
    margin-bottom:24px;
}

.linked-site-grid{
    display:grid;
    gap:18px;
}
.linked-site-card{
    min-height:148px;
    display:grid;
    grid-template-columns:190px minmax(0,1fr) auto;
    gap:24px;
    align-items:center;
    padding:24px 26px;
    background:white;
    border:1px solid var(--line);
    border-radius:8px;
    color:inherit;
    text-decoration:none;
    box-shadow:0 14px 34px rgba(19,107,48,0.09);
    transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.linked-site-card:hover{
    transform:translateY(-2px);
    border-color:rgba(35,137,63,0.42);
    box-shadow:0 18px 44px rgba(19,107,48,0.14);
}
.linked-site-logo{
    min-height:94px;
    display:grid;
    place-items:center;
    border-radius:8px;
    background:#fff;
    border:1px solid #dce8e0;
    overflow:hidden;
    position:relative;
}
.linked-site-logo img{
    max-width:82%;
    max-height:58px;
    display:block;
    object-fit:contain;
}
.linked-site-content{
    display:grid;
    gap:8px;
}
.linked-site-content strong{
    color:var(--ink);
    font-size:24px;
    line-height:1.25;
    font-weight:700;
}
.linked-site-content span{
    color:var(--muted);
}
.linked-site-card em{
    min-width:96px;
    display:inline-flex;
    justify-content:center;
    padding:10px 13px;
    border-radius:8px;
    background:var(--green-soft);
    color:var(--green-dark);
    font-style:normal;
    font-weight:700;
}

.map-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 340px;
    gap:24px;
    align-items:stretch;
}
.map-panel,.map-info{
    background:white;
    border:1px solid var(--line);
    border-radius:8px;
    box-shadow:0 14px 34px rgba(19,107,48,0.09);
}
.map-panel{overflow:hidden}
.kakao-map{
    min-height:420px;
    width:100%;
}
.map-placeholder{
    min-height:420px;
    display:grid;
    place-content:center;
    gap:8px;
    padding:28px;
    background:linear-gradient(135deg,#eef8f0,#ffffff);
    color:var(--muted);
    text-align:center;
}
.map-placeholder strong{
    color:var(--green-dark);
    font-size:20px;
}
.map-info{
    padding:28px;
}
.map-info > strong{
    display:block;
    color:var(--ink);
    font-size:22px;
    margin-bottom:18px;
}
.map-info dl{
    display:grid;
    gap:16px;
    margin:0 0 24px;
}
.map-info dl div{
    display:grid;
    gap:5px;
    padding-bottom:16px;
    border-bottom:1px solid var(--line);
}
.map-info dl div:last-child{border-bottom:0}
.map-info dt{
    color:var(--green-dark);
    font-size:13px;
    font-weight:700;
}
.map-info dd{
    margin:0;
    color:var(--ink);
    font-weight:500;
}
.map-info-window{
    min-width:130px;
    padding:8px 10px;
    color:#1f2a24;
    font-size:13px;
    font-weight:700;
    text-align:center;
}

.faq-list{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}
.faq-list.large{grid-template-columns:1fr}
details{
    background:white;
    border:1px solid var(--line);
    border-radius:8px;
    padding:18px 20px;
}
summary{
    color:var(--ink);
    font-weight:600;
    cursor:pointer;
}
details p{margin:12px 0 0;color:var(--muted)}
.section-actions{margin-top:24px}

.cta-band{
    padding:84px 0;
    background:linear-gradient(180deg,var(--soft),#fff);
}
.cta-box{
    display:flex;
    justify-content:space-between;
    gap:28px;
    align-items:center;
    padding:36px;
    background:var(--green-dark);
    color:white;
    border-radius:8px;
    box-shadow:var(--shadow);
}
.cta-box h2{
    margin:14px 0 10px;
    font-size:31px;
    line-height:1.28;
    font-weight:700;
}
.cta-box p{max-width:720px;margin:0;color:#e1efe5}
.cta-box .kicker{background:rgba(255,255,255,0.14);color:white}
.cta-box .button-outline{background:transparent;border-color:rgba(255,255,255,.36);color:white}

.contact-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 380px;
    gap:28px;
    align-items:start;
}
.form-panel{padding:30px}
.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}
.form-grid label{
    display:flex;
    flex-direction:column;
    gap:7px;
    color:var(--ink);
    font-size:14px;
    font-weight:600;
}
.form-grid label.full,.form-grid .full{grid-column:1/-1}
.phone-input-group{
    display:grid;
    grid-template-columns:74px 20px minmax(0, 1fr) 20px minmax(0, 1fr);
    align-items:center;
    border:1px solid #cfd8d1;
    border-radius:8px;
    background:white;
    overflow:hidden;
}
.phone-prefix{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    background:#f1f7f3;
    border-right:1px solid #cfd8d1;
    color:var(--green-dark);
    font-weight:700;
}
.phone-separator{
    color:#8a9a90;
    font-weight:700;
    text-align:center;
}
.phone-input-group input{
    border:0;
    border-radius:0;
    min-height:46px;
    text-align:center;
    padding-left:8px;
    padding-right:8px;
}
.phone-input-group:focus-within{
    outline:3px solid rgba(35,137,63,0.16);
    border-color:var(--green);
}
.year-month-field{
    display:flex;
    flex-direction:column;
    gap:7px;
    color:var(--ink);
    font-size:14px;
    font-weight:600;
}
.year-month-inputs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}
.year-month-inputs label{
    gap:5px;
    font-size:13px;
}
.year-month-inputs input{
    text-align:center;
}
.combo-input{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0, 1fr) 42px;
    align-items:center;
    width:100%;
    min-height:46px;
    border:1px solid #cfd8d1;
    border-radius:8px;
    background:white;
}
.combo-input:focus-within{
    outline:3px solid rgba(35,137,63,0.16);
    border-color:var(--green);
}
.combo-input input{
    min-height:44px;
    padding:12px 6px 12px 13px;
    border:0;
    border-radius:8px 0 0 8px;
    background:transparent;
}
.combo-input input:focus{
    outline:0;
}
.combo-toggle{
    position:relative;
    width:42px;
    min-height:44px;
    padding:0;
    border:0;
    border-radius:0 8px 8px 0;
    background:transparent;
    cursor:pointer;
}
.combo-toggle::before{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:8px;
    height:8px;
    border-right:2px solid var(--ink);
    border-bottom:2px solid var(--ink);
    transform:translate(-50%, -65%) rotate(45deg);
}
.combo-input.is-open .combo-toggle::before{
    transform:translate(-50%, -35%) rotate(225deg);
}
.combo-menu{
    position:absolute;
    z-index:60;
    top:calc(100% + 6px);
    left:0;
    right:0;
    max-height:220px;
    padding:6px;
    overflow-y:auto;
    border:1px solid var(--green);
    border-radius:8px;
    background:white;
    box-shadow:0 12px 24px rgba(15,23,42,0.14);
}
.combo-option{
    display:block;
    width:100%;
    min-height:38px;
    padding:9px 12px;
    border:0;
    border-radius:6px;
    background:white;
    color:var(--ink);
    font:inherit;
    font-size:14px;
    font-weight:600;
    text-align:left;
    cursor:pointer;
}
.combo-option:hover,
.combo-option.is-active{
    background:var(--green-soft);
    color:var(--green-dark);
}
.combo-option:focus{
    outline:2px solid rgba(35,137,63,0.18);
    outline-offset:1px;
}
.nationality-field{
    display:flex;
    flex-direction:column;
    gap:7px;
    color:var(--ink);
    font-size:14px;
    font-weight:600;
}
.segmented-choice{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}
.segmented-choice label{
    display:block;
    position:relative;
    font-size:14px;
}
.segmented-choice input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.segmented-choice span{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    border:1px solid #cfd8d1;
    border-radius:8px;
    background:white;
    color:var(--ink);
    font-weight:700;
    cursor:pointer;
}
.segmented-choice input:focus + span{
    outline:3px solid rgba(35,137,63,0.16);
    border-color:var(--green);
}
.segmented-choice input:checked + span{
    border-color:var(--green);
    background:var(--green-soft);
    color:var(--green-dark);
}
.visa-field{
    margin-top:8px;
}
.visa-field[hidden]{display:none!important}
input,select,textarea{
    width:100%;
    min-height:46px;
    padding:12px 13px;
    border:1px solid #cfd8d1;
    border-radius:8px;
    background:white;
    color:var(--ink);
}
textarea{min-height:142px;resize:vertical}
input:focus,select:focus,textarea:focus{
    outline:3px solid rgba(35,137,63,0.16);
    border-color:var(--green);
}
.check{
    flex-direction:row!important;
    align-items:flex-start;
    color:var(--muted)!important;
    font-weight:500!important;
}
.check input{width:auto;min-height:auto;margin-top:5px}
.form-help,.small{color:var(--muted);font-size:13px}
.form-message{
    display:none;
    margin-top:14px;
    padding:13px;
    border-radius:8px;
    font-weight:600;
}
.form-message.visible{display:block}
.form-message.success{background:var(--green-soft);color:var(--green-dark)}
.form-message.error{background:#fef2f2;color:#991b1b}
.privacy-link-row{
    display:flex;
    justify-content:flex-end;
    margin-top:-6px;
}
.privacy-policy-link{
    border:0;
    background:transparent;
    color:var(--green-dark);
    font-size:14px;
    font-weight:700;
    text-decoration:underline;
    text-underline-offset:3px;
    cursor:pointer;
    padding:0;
}
.privacy-policy-link:hover{color:var(--green)}
body.modal-open{overflow:hidden}
.privacy-modal[hidden]{display:none}
.privacy-modal{
    position:fixed;
    inset:0;
    z-index:10000;
    display:grid;
    place-items:center;
    padding:24px;
}
.privacy-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,0.46);
}
.privacy-modal-panel{
    position:relative;
    width:min(620px, 100%);
    max-height:min(760px, 88vh);
    overflow:auto;
    background:white;
    border-radius:10px;
    box-shadow:0 24px 70px rgba(15,23,42,0.28);
    border:1px solid var(--line);
}
.privacy-modal-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    padding:22px 24px 14px;
    border-bottom:1px solid var(--line);
}
.privacy-modal-header h2{
    margin:0;
    color:var(--ink);
    font-size:22px;
    font-weight:800;
}
.privacy-modal-close{
    width:34px;
    height:34px;
    border:0;
    border-radius:50%;
    background:#f1f5f9;
    color:#334155;
    font-size:24px;
    line-height:1;
    cursor:pointer;
}
.privacy-modal-body{
    padding:20px 24px 8px;
    color:#334155;
}
.privacy-modal-body p{margin:0 0 18px}
.privacy-consent-list{
    display:grid;
    grid-template-columns:150px 1fr;
    margin:0;
    border-top:1px solid var(--line);
    border-left:1px solid var(--line);
}
.privacy-consent-list dt,
.privacy-consent-list dd{
    margin:0;
    padding:14px;
    border-right:1px solid var(--line);
    border-bottom:1px solid var(--line);
}
.privacy-consent-list dt{
    background:#f7fbf8;
    color:var(--green-dark);
    font-weight:800;
}
.privacy-modal-actions{
    display:flex;
    justify-content:flex-end;
    padding:16px 24px 24px;
}
@media (max-width: 560px){
    .privacy-modal{padding:16px}
    .privacy-modal-header{
        padding:18px 18px 12px;
    }
    .privacy-modal-header h2{font-size:19px}
    .privacy-modal-body{padding:18px}
    .privacy-consent-list{
        grid-template-columns:1fr;
    }
    .privacy-consent-list dt{
        border-bottom:0;
    }
    .privacy-modal-actions{
        padding:0 18px 18px;
    }
    .privacy-modal-actions .button{width:100%}
}
.contact-side{
    background:var(--green-dark);
    color:white;
    padding:28px;
}
.contact-side h2{margin:0 0 12px;font-weight:700}
.contact-side p{color:#dcefe2}
.contact-side dl{display:grid;gap:14px;margin:24px 0}
.contact-side dt{color:#bfd8c6;font-size:13px}
.contact-side dd{margin:0;font-weight:600}
.contact-side .small{color:#dcefe2}

.site-footer{
    background:#122019;
    color:#b9c7bd;
    padding:44px 0 34px;
}
.footer-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:30px;
}
.site-footer strong{
    display:block;
    color:white;
    font-size:21px;
    margin-bottom:8px;
    font-weight:700;
}
.site-footer p{max-width:720px;margin:0 0 16px}
.footer-meta{display:grid;gap:5px}
.footer-actions{
    display:flex;
    flex-direction:column;
    gap:12px;
    align-items:flex-start;
}
.footer-actions a:not(.button){font-weight:600;text-decoration:none}
.copyright{margin-top:28px;color:#7f9286}
.mobile-cta{display:none}

.admin-body{background:var(--soft)}
.admin-header{
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:12px 24px;
    background:white;
    border-bottom:1px solid var(--line);
}
.admin-header nav{
    display:flex;
    gap:14px;
    font-weight:600;
}
.admin-header nav a{text-decoration:none;color:var(--green-dark)}
.admin-header form{
    display:flex;
    align-items:center;
    gap:10px;
}
.admin-main{
    width:min(1180px, calc(100% - 40px));
    margin:0 auto;
    padding:42px 0 70px;
}
.auth-card{
    width:min(460px, calc(100% - 40px));
    margin:62px auto;
    padding:32px;
    background:white;
    border:1px solid var(--line);
    border-radius:8px;
    box-shadow:var(--shadow);
}
.auth-card h1,.admin-title h1{
    margin:14px 0 10px;
    color:var(--ink);
    line-height:1.25;
    font-weight:700;
}
.auth-form{display:grid;gap:15px;margin-top:22px}
.auth-form label{display:grid;gap:7px;color:var(--ink);font-weight:600}
.auth-links{
    display:flex;
    justify-content:space-between;
    gap:14px;
    margin-top:18px;
    font-weight:600;
}
.admin-title{
    display:flex;
    justify-content:space-between;
    gap:24px;
    align-items:flex-end;
    margin-bottom:24px;
}
.admin-title p{margin:0;color:var(--muted)}
.admin-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin-bottom:24px;
}
.admin-stats article{
    background:white;
    border:1px solid var(--line);
    border-radius:8px;
    padding:20px;
}
.admin-stats span{display:block;color:var(--muted);font-weight:500}
.admin-stats strong{display:block;color:var(--green-dark);font-size:30px;font-weight:700}
.admin-list{display:grid;gap:14px}
.inquiry-card{
    background:white;
    border:1px solid var(--line);
    border-radius:8px;
    padding:20px;
}
.inquiry-summary{
    display:flex;
    justify-content:space-between;
    gap:18px;
    align-items:flex-start;
}
.summary-line{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:4px;
}
.summary-line strong{font-size:20px;color:var(--ink);font-weight:700}
.inquiry-summary p{margin:0;color:var(--muted)}
.inquiry-summary span{color:#64748b;font-size:13px}
.summary-actions{display:flex;gap:8px;flex-wrap:wrap}
.admin-summary-tags{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:8px 0 6px;
    max-width:100%;
}
.admin-summary-tags span{
    min-height:28px;
    display:inline-flex;
    align-items:center;
    padding:5px 10px;
    border:1px solid #d8e5dd;
    border-radius:6px;
    background:#f7fbf8;
    color:#20372e;
    font-size:14px;
    font-weight:600;
    max-width:100%;
}
.admin-summary-tags .admin-summary-memo{
    position:relative;
    margin-left:18px;
    border-color:#0f7a3a;
    background:#effaf3;
    color:#0b5f2d;
    font-weight:700;
}
.admin-summary-tags .admin-summary-memo::before{
    content:"";
    position:absolute;
    left:-12px;
    width:1px;
    height:18px;
    background:#cbd8d0;
}
.inquiry-card.is-favorite{
    border-color:#0f7a3a;
    box-shadow:inset 4px 0 0 #0f7a3a;
}
.favorite-form,.delete-form{margin:0}
.summary-line .favorite-form .favorite-button,
.summary-line .favorite-form button.favorite-button{
    width:28px;
    height:28px;
    min-width:0;
    min-height:0;
    padding:0;
    margin:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    color:#15803d;
    font-size:25px;
    font-weight:900;
    line-height:1;
    cursor:pointer;
    appearance:none;
    -webkit-appearance:none;
}
.summary-line .favorite-form .favorite-button:hover,
.summary-line .favorite-form button.favorite-button:hover{
    background:transparent;
    color:#0f6b32;
}
.summary-line .favorite-form .favorite-button.is-active,
.summary-line .favorite-form button.favorite-button.is-active{
    background:transparent;
    color:#15803d;
}
.button-danger{
    border-color:#fecdd3;
    background:#fff1f2;
    color:#b42318;
}
.button-danger:hover{background:#ffe4e6}
.inquiry-toast{
    position:fixed;
    left:50%;
    top:50%;
    z-index:9999;
    transform:translate(-50%, -50%) scale(0.96);
    padding:18px 28px;
    border-radius:10px;
    background:rgba(14,111,54,0.96);
    color:white;
    font-size:20px;
    font-weight:800;
    box-shadow:0 18px 45px rgba(0,0,0,0.22);
    opacity:0;
    pointer-events:none;
    transition:opacity .22s ease, transform .22s ease;
}
.inquiry-toast.is-visible{
    opacity:1;
    transform:translate(-50%, -50%) scale(1);
}
.inquiry-toast.is-hiding{
    opacity:0;
    transform:translate(-50%, -50%) scale(0.98);
}
.status-badge{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:4px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    line-height:1;
    color:white;
    letter-spacing:0;
}
.inquiry-summary span.status-badge{
    color:white;
    -webkit-text-fill-color:white;
}
.inquiry-summary span.status-badge.badge-new{background:#2563eb;color:white}
.inquiry-summary span.status-badge.badge-checking{background:#d97706;color:white}
.inquiry-summary span.status-badge.badge-contacted{background:#15803d;color:white}
.inquiry-summary span.status-badge.badge-hold{background:#64748b;color:white}
.detail-grid{
    display:grid;
    grid-template-columns:280px 1fr;
    gap:22px;
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid var(--line);
}
.detail-grid dl{margin:0;display:grid;gap:8px}
.detail-grid dt{color:var(--muted);font-size:13px}
.detail-grid dd{margin:0;font-weight:600}
.detail-grid h3{margin:0 0 8px;color:var(--ink);font-weight:700}
.detail-grid p{margin:0;color:#334155}
.admin-forms{
    display:grid;
    grid-template-columns:300px 1fr;
    gap:16px;
    margin-top:20px;
}
.admin-forms form{
    display:grid;
    gap:10px;
    align-content:start;
}
.admin-forms label{
    display:grid;
    gap:7px;
    color:var(--ink);
    font-weight:600;
}
.admin-forms textarea{min-height:112px}
.empty-state{
    padding:36px;
    background:white;
    border:1px solid var(--line);
    border-radius:8px;
    color:var(--muted);
    text-align:center;
    font-weight:600;
}

@media(max-width:1080px){
    .card-grid.four{grid-template-columns:repeat(2,1fr)}
    .process-grid,.process-grid.compact{grid-template-columns:repeat(2,1fr)}
    .split,.contact-layout{grid-template-columns:1fr}
    .image-panel{min-height:360px}
    .faq-list{grid-template-columns:1fr}
    .service-item{grid-template-columns:1fr}
    .line-card{grid-template-columns:1fr}
    .linked-site-card{grid-template-columns:150px minmax(0,1fr)}
    .linked-site-card em{grid-column:2}
    .map-layout{grid-template-columns:1fr}
    .kakao-map,.map-placeholder{min-height:360px}
}

@media(max-width:760px){
    body{padding-bottom:66px}
    .topbar{display:none}
    .container,.admin-main,.narrow{width:min(100% - 28px, 1180px)}
    .nav-inner{
        min-height:auto;
        padding:14px 0;
        align-items:flex-start;
        flex-direction:column;
    }
    .brand{font-size:16px}
    .brand-logo{
        width:112px;
        height:58px;
    }
    .brand small{font-size:11px}
    .site-nav{
        width:100%;
        overflow-x:auto;
        gap:12px;
        padding-bottom:4px;
        font-size:14px;
    }
    .topbar span,.footer-meta span,.hero-metrics span{
        overflow-wrap:break-word;
        text-wrap:pretty;
    }
    .hero{min-height:auto}
    .hero-inner{padding:66px 0 76px}
    .hero h1{font-size:38px}
    .hero-copy{
        width:100%;
        padding:22px;
    }
    .hero p,.sub-hero p{font-size:16px}
    .hero-metrics{grid-template-columns:1fr}
    .sub-hero .container{padding:66px 0 74px}
    .sub-hero h1{font-size:34px}
    .section{padding:62px 0}
    .section-title h2{font-size:29px}
    .card-grid.four,.form-grid,.footer-grid,.admin-stats,.detail-grid,.admin-forms{grid-template-columns:1fr}
    .overview-panel div,.value-list article{grid-template-columns:1fr;gap:6px}
    .linked-site-card{
        grid-template-columns:1fr;
        gap:14px;
    }
    .linked-site-card em{grid-column:auto}
    .cta-box{
        padding:26px;
        align-items:flex-start;
        flex-direction:column;
    }
    .cta-box h2{font-size:26px}
    .form-panel{padding:22px}
    .footer-actions{align-items:stretch}
    .mobile-cta{
        position:fixed;
        left:0;
        right:0;
        bottom:0;
        z-index:60;
        display:grid;
        grid-template-columns:1fr 1fr;
        background:white;
        border-top:1px solid var(--line);
        box-shadow:0 -8px 20px rgba(15,23,42,.08);
    }
    .mobile-cta a{
        min-height:56px;
        display:grid;
        place-items:center;
        color:var(--green-dark);
        font-weight:700;
        text-decoration:none;
    }
    .mobile-cta a:last-child{background:var(--green);color:white}
    .admin-header{
        align-items:flex-start;
        flex-direction:column;
    }
    .admin-header form{width:100%;justify-content:space-between}
    .admin-title,.inquiry-summary{
        align-items:flex-start;
        flex-direction:column;
    }
    .admin-summary-tags span{
        font-size:13px;
        padding:4px 8px;
    }
    .admin-summary-tags .admin-summary-memo{
        margin-left:0;
    }
    .admin-summary-tags .admin-summary-memo::before{
        display:none;
    }
}

