/*
Theme Name: Hesed Simple
Description: Kubio 없이 만든 Hesed Campus 전용 간단 테마.
Version: 1.12
Author: Hesed Campus
Text Domain: hesed-simple
*/

:root {
  --ink: #121315;
  --muted: #55595f;
  --blue: #4263be;
  --blue-dark: #33509f;
  --accent: #e4876a;
  --highlight: #d9332b;
  --soft: #f4f5f7;
  --white: #ffffff;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
p  { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section--soft { background: var(--soft); }
.eyebrow {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.line { width: 70px; height: 2px; background: var(--accent); border: 0; margin: 18px 0 24px; }
.center { text-align: center; }
.center .line { margin-left: auto; margin-right: auto; }
.lead { max-width: 780px; margin: 0 auto; color: var(--muted); }
.hl { color: var(--highlight); }

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--accent { background: var(--accent); color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.btn--accent:hover { background: #d4704f; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #eceef1;
  backdrop-filter: blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand {
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 22px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.nav a {
  font-family: "Poppins", sans-serif; font-weight: 500; font-size: 15px;
  color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav .current-menu-item > a { border-bottom-color: var(--accent); }
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  font-size: 26px; line-height: 1; color: var(--ink);
}

/* ---------- Hero ---------- */
.hero { padding: 40px 0 80px; }
.slider { position: relative; aspect-ratio: 16 / 8; border-radius: 6px; overflow: hidden; background: #dfe3e8; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.slide.is-active { opacity: 1; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.35); color: #fff; font-size: 22px; line-height: 44px;
}
.slider-btn:hover { background: rgba(0,0,0,.55); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.dots button.is-active { background: #fff; }
.hero-text { max-width: 820px; margin-top: 44px; }
.hero-text p { color: var(--muted); }

/* ---------- Property ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.12); }

/* ---------- Buildings ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.bldg {
  position: relative; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden;
  background-size: cover; background-position: center;
}
.bldg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.25), transparent 50%); }
.bldg span {
  position: absolute; z-index: 1; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: max-content; max-width: 82%; text-align: center;
  background: #fff; padding: 9px 16px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.5;
}

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: 1fr 1fr; }
.approach-img { background-size: cover; background-position: center; min-height: 460px; }
.approach-text { background: var(--soft); padding: 70px 60px; }
.approach-text h3 { font-size: 19px; }

/* ---------- Solutions ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.card {
  background: #fff; border: 1px solid #e7e9ed; border-radius: 6px; padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.08); transform: translateY(-3px); }
.card .num { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--accent); font-size: 14px; letter-spacing: .1em; }
.card h3 { margin-top: 10px; font-size: 18px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9ccd1; padding: 40px 0; font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }

/* ---------- Basic page (other pages) ---------- */
.page-content { padding: 60px 0 90px; }
.page-content .wrap { max-width: 900px; }


/* ---------- Our Property page ---------- */
.page-banner {
  position: relative; padding: 120px 0 90px;
  background-size: cover; background-position: center;
  color: #fff;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(18,19,21,.75), rgba(18,19,21,.25)); }
.page-banner .wrap { position: relative; }
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.page-banner p { margin: 0; font-size: 18px; opacity: .9; }
.narrow { max-width: 820px; }
.wide-img { width: 100%; border-radius: 6px; margin-top: 40px; aspect-ratio: 16 / 8; object-fit: cover; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.checklist { list-style: none; padding: 0; margin: 40px auto 0; max-width: 820px; display: grid; gap: 14px; }
.checklist li {
  position: relative; padding: 18px 22px 18px 60px;
  background: var(--soft); border-radius: 6px; font-weight: 400;
}
.checklist li::before {
  content: "\2713"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 14px; line-height: 26px; text-align: center; font-weight: 700;
}
.closing { position: relative; padding: 110px 0; background-size: cover; background-position: center; color: #fff; }
.closing::before { content: ""; position: absolute; inset: 0; background: rgba(18,19,21,.65); }
.closing .wrap { position: relative; }
.closing p { font-size: 19px; font-weight: 400; margin: 0; }


/* Our Property 윗부분: 기존 디자인 그대로 (회색 배경) */
.site-header--warm { background: #e9e9e3; border-bottom-color: transparent; }
.site-header--warm .nav .current-menu-item > a, .site-header--warm .nav a:hover { border-bottom-color: #fff; }
.intro-warm { background: #e9e9e3; padding: 50px 0 70px; }
.intro-warm .split { gap: 80px; }
.eyebrow--dark { color: var(--ink); letter-spacing: .07em; font-size: 14px; margin-bottom: 18px; }
.intro-title { font-size: clamp(26px, 3vw, 36px); font-weight: 500; line-height: 1.25; margin-bottom: 26px; }
.intro-warm p { font-size: 18px; line-height: 1.6; color: #0a0e14; margin: 0; }
.intro-warm img { border-radius: 6px; box-shadow: none; }


/* ---------- Contact Us page ---------- */
.contact { padding-top: 60px; }
.contact-head { max-width: 820px; }
.contact-head h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; }
.contact-head p { font-size: 18px; color: #0a0e14; }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; margin-top: 50px; align-items: stretch; }
.contact-info { background: var(--soft); border-radius: 6px; padding: 36px 32px; }
.contact-info h3 { font-size: 20px; margin-bottom: 16px; }
.contact-info p { margin: 0 0 18px; }
.contact-info a { color: var(--blue); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-map { min-height: 420px; border-radius: 6px; overflow: hidden; background: #e5e3df; }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }


/* ---------- Projects (비공개 프로젝트 페이지) ---------- */
.project-body { background: #fff; }
.project-bar { position: fixed !important; left: 16px; bottom: 16px; z-index: 2147483647 !important; }
.project-bar a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(18,19,21,.88); color: #fff; text-decoration: none;
  font-family: "Poppins", Arial, sans-serif; font-size: 13px; font-weight: 500; line-height: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,.22); backdrop-filter: blur(4px);
  transition: background .2s, transform .2s;
}
.project-bar a:hover { background: #121315; transform: translateY(-1px); }
@media print { .project-bar { display: none; } }
.project-content > * { max-width: none; }

.hub { padding: 50px 0 90px; min-height: 100vh; background: var(--soft); }
.hub .brand { display: inline-block; margin-bottom: 40px; }
.hub h1 { margin-bottom: 0; }
.hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 10px; }
.hub .wrap { max-width: 1320px; }
@media (max-width: 1100px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
.hub-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.hub-img { display: block; aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.hub-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.hub-body h2 { font-size: 18px; margin-bottom: 8px; }
.hub-body h2 a { color: var(--ink); text-decoration: none; }
.hub-body p { color: var(--muted); font-size: 16px; flex: 1; }
.hub-links { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--line { border: 1px solid var(--blue); color: var(--blue); }
.btn--line:hover { background: var(--blue); color: #fff; }

.lock-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--soft); }
.lock-card { width: 100%; max-width: 380px; background: #fff; border-radius: 10px; padding: 40px 32px; text-align: center; box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.lock-icon { font-size: 34px; margin-bottom: 10px; }
.lock-card h1 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.lock-card p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.lock-card input { width: 100%; padding: 13px 14px; font-size: 16px; border: 1px solid #d6d9de; border-radius: 6px; margin-bottom: 12px; font-family: inherit; }
.lock-card input:focus { outline: 2px solid var(--blue); border-color: transparent; }
.lock-card button { width: 100%; padding: 13px; border: 0; border-radius: 6px; background: var(--blue); color: #fff; font-family: "Poppins", sans-serif; font-weight: 500; font-size: 15px; cursor: pointer; }
.lock-card button:hover { background: var(--blue-dark); }
.lock-back { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--muted); text-decoration: none; }
.screen-reader { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .split, .approach, .intro-warm .split { grid-template-columns: 1fr; gap: 36px; }
  .site-header--warm .nav { background: #e9e9e3; }
  .approach-img { min-height: 280px; }
  .approach-text { padding: 50px 24px; }
  .grid-3, .cards { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #eceef1; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav a { display: block; padding: 12px 0; }
  .slider { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .grid-3, .cards, .cards--2, .hub-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 80px 0 60px; }
  .checklist li { padding-left: 54px; }
  .bldg { aspect-ratio: 4 / 3; }
}