:root{--c-primary:#ffb703;}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Baloo 2', 'Noto Serif SC', 'STSong', sans-serif; background: #d8f3dc; color: #1b4332; line-height: 1.9; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hand { font-family: 'Gloria Hallelujah', cursive; }

.leaves { background-image: radial-gradient(#74c69d 4px, transparent 5px), radial-gradient(#40916c 3px, transparent 4px), radial-gradient(#95d5b2 2.5px, transparent 3.5px); background-size: 130px 130px, 170px 160px, 100px 110px; background-position: 20px 30px, 90px 10px, 60px 90px; }

.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #1b4332; border-bottom: 5px solid #74c69d; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: #d8f3dc; }
.brand .leaf-badge { width: 40px; height: 40px; background: #74c69d; border-radius: 0 60% 0 60%; border: 3px solid #ffb703; position: relative; flex: none; transform: rotate(-8deg); }
.brand .leaf-badge::after { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 3px; background: #1b4332; transform: translateX(-50%) rotate(20deg); }
.brand .name { font-size: 20px; letter-spacing: 4px; }
.brand .name small { display: block; font-size: 10px; letter-spacing: 4px; color: #ffb703; }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: #b7e4c7; font-size: 14px; letter-spacing: 3px; padding-bottom: 6px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: #ffb703; border-bottom-color: #ffb703; }
.menu-toggle { display: none; background: none; border: 1px solid #ffb703; color: #ffb703; font-size: 13px; letter-spacing: 3px; padding: 7px 12px; cursor: pointer; font-family: inherit; }

.hero { position: relative; overflow: hidden; padding: 150px 0 100px; }
.hero .leaves { position: absolute; inset: 0; }
.branch-top { position: absolute; top: 0; left: -60px; right: -60px; height: 80px; border: 14px solid #7f5539; border-color: #7f5539 transparent transparent transparent; border-radius: 50%; pointer-events: none; }
.branch-top::before { content: ""; position: absolute; top: -20px; left: 18%; width: 90px; height: 12px; background: #7f5539; border-radius: 6px; }
.branch-top::after { content: ""; position: absolute; top: -14px; right: 24%; width: 70px; height: 10px; background: #7f5539; border-radius: 5px; }
.sun { width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, #ffd166, #ffb703); box-shadow: 0 0 50px rgba(255, 183, 3, 0.55); margin: 0 auto 30px; position: relative; }
.hero-img { position: relative; width: min(880px, 94%); height: 440px; object-fit: cover; margin: 0 auto; border: 10px solid #7f5539; border-bottom: none; box-shadow: 0 20px 44px rgba(27, 67, 50, 0.35); display: block; }
.planks { height: 34px; background: repeating-linear-gradient(0deg, #a98467 0 12px, #7f5539 12px 14px); margin: 0 auto; width: min(900px, 96%); box-shadow: 0 16px 34px rgba(27, 67, 50, 0.3); }
.hero-content { position: relative; text-align: center; margin-top: 56px; }
.hero h1 { font-size: 46px; letter-spacing: 10px; color: #1b4332; }
.hero .slogan { color: #2d6a4f; letter-spacing: 6px; margin-top: 8px; font-size: 15px; }
.hero .slogan .hand { color: #ffb703; font-size: 20px; }
.btn-sun { display: inline-block; background: #ffb703; color: #1b4332; padding: 15px 52px; letter-spacing: 6px; font-size: 15px; margin-top: 26px; transition: all .3s; font-weight: 600; }
.btn-sun:hover { background: #ffd166; }
.btn-outline { display: inline-block; border: 2px solid #2d6a4f; color: #1b4332; background: rgba(255, 255, 255, 0.7); padding: 13px 48px; letter-spacing: 6px; font-size: 15px; margin-top: 26px; transition: all .3s; font-weight: 600; }
.btn-outline:hover { background: #2d6a4f; color: #d8f3dc; }
.btn-gap { margin-left: 14px; }
.rope-line { position: relative; width: 100%; height: 60px; margin-top: 70px; }
.rope-line::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; border-top: 4px dashed #7f5539; }
.rope-line::after { content: ""; position: absolute; left: 50%; top: 6px; transform: translateX(-50%); width: 26px; height: 26px; border: 4px dashed #7f5539; border-radius: 50%; background: #d8f3dc; }

.section { padding: 96px 0; }
.section.leaves-bg { background-image: radial-gradient(#95d5b2 3.5px, transparent 4.5px), radial-gradient(#74c69d 2.5px, transparent 3.5px); background-size: 120px 120px, 160px 140px; }
.section.canopy { background: #1b4332; color: #d8f3dc; }
.section-title { text-align: center; margin-bottom: 54px; }
.section-title .hand { color: #ffb703; font-size: 15px; letter-spacing: 3px; }
.section-title h2 { font-size: 34px; letter-spacing: 10px; margin-top: 6px; }
.section.canopy .section-title h2 { color: #d8f3dc; }
.section-title .leaf-divider { width: 16px; height: 16px; background: #74c69d; border-radius: 0 60% 0 60%; transform: rotate(-8deg); margin: 16px auto 0; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.frame-plank { border: 8px solid #7f5539; padding: 8px; position: relative; background: #fff; box-shadow: 0 16px 36px rgba(27, 67, 50, 0.25); }
.frame-plank::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 14px; background: repeating-linear-gradient(90deg, #a98467 0 30px, #7f5539 30px 34px); }
.frame-plank img { width: 100%; height: 420px; object-fit: cover; }
.about-text h3 { font-size: 28px; letter-spacing: 5px; margin-bottom: 18px; }
.about-text p { color: #2d6a4f; margin-bottom: 16px; }
.about-text .quote { border-left: 5px solid #ffb703; padding-left: 16px; color: #1b4332; margin-top: 24px; font-size: 14px; letter-spacing: 1px; }

.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.room-card { background: #fff; border: 3px solid #74c69d; border-radius: 18px 18px 0 0; box-shadow: 0 14px 30px rgba(27, 67, 50, 0.18); overflow: hidden; }
.room-card .tree { height: 130px; background: linear-gradient(180deg, transparent 0 40%, #a98467 40% 48%, transparent 48%); position: relative; overflow: hidden; }
.room-card .tree::before { content: ""; position: absolute; left: -40px; right: -40px; top: 10px; height: 70px; border: 12px solid #7f5539; border-color: #7f5539 transparent transparent transparent; border-radius: 50%; }
.room-card .tree img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-card .room-img { height: 200px; position: relative; }
.room-card .room-img img { width: 100%; height: 100%; object-fit: cover; }
.room-body { padding: 24px 22px 28px; text-align: center; }
.room-body h3 { font-size: 20px; letter-spacing: 4px; }
.room-body .room-en { font-size: 11px; letter-spacing: 3px; color: #ffb703; margin: 6px 0 14px; }
.room-body .price { color: #2d6a4f; font-size: 20px; letter-spacing: 2px; }
.room-body .price small { font-size: 12px; color: #74c69d; }
.room-body p { font-size: 13px; color: #2d6a4f; margin-top: 12px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-card { text-align: center; background: rgba(116, 198, 157, 0.12); border: 2px solid rgba(116, 198, 157, 0.5); border-radius: 14px; padding: 34px 18px; }
.feature-card .leaf-badge { width: 46px; height: 46px; background: #74c69d; border-radius: 0 60% 0 60%; border: 3px solid #ffb703; margin: 0 auto 18px; transform: rotate(-8deg); position: relative; }
.feature-card .leaf-badge::after { content: ""; position: absolute; left: 50%; top: 5px; bottom: 5px; width: 3px; background: #1b4332; transform: translateX(-50%) rotate(20deg); }
.feature-card h4 { font-size: 17px; letter-spacing: 3px; color: #d8f3dc; }
.feature-card p { font-size: 12px; color: #95d5b2; margin-top: 8px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gal-item { position: relative; overflow: hidden; border-radius: 14px; border: 3px solid #74c69d; box-shadow: 0 10px 24px rgba(27, 67, 50, 0.2); }
.gal-item img { width: 100%; height: 250px; object-fit: cover; transition: transform .5s; }
.gal-item:hover img { transform: scale(1.08); }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, transparent, rgba(27, 67, 50, 0.92)); color: #d8f3dc; text-align: center; padding: 30px 12px 12px; font-size: 13px; letter-spacing: 4px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.blog-card { background: #fff; border-radius: 14px; overflow: hidden; border: 3px solid #74c69d; box-shadow: 0 12px 28px rgba(27, 67, 50, 0.16); }
.blog-card img { width: 100%; height: 210px; object-fit: cover; }
.blog-body { padding: 18px 16px 22px; }
.blog-date { font-size: 12px; color: #ffb703; letter-spacing: 3px; font-weight: 600; }
.blog-card h4 { font-size: 18px; letter-spacing: 2px; margin: 8px 0 10px; }
.blog-card p { font-size: 13px; color: #2d6a4f; margin-bottom: 12px; }
.blog-more { color: #2d6a4f; font-size: 13px; letter-spacing: 3px; border-bottom: 2px solid #ffb703; padding-bottom: 3px; font-weight: 600; }
.blog-more:hover { color: #ffb703; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: center; }
.team-item img { width: 170px; height: 170px; border-radius: 50%; margin: 0 auto 18px; border: 5px solid #74c69d; outline: 4px dashed #ffb703; outline-offset: 4px; object-fit: cover; }
.team-item h4 { font-size: 19px; letter-spacing: 3px; color: #d8f3dc; }
.team-item .post { font-size: 13px; color: #ffb703; letter-spacing: 3px; margin: 6px 0 10px; }
.team-item p { font-size: 13px; color: #95d5b2; max-width: 260px; margin: 0 auto; }

.cta { padding: 96px 0; text-align: center; }
.cta .sun { margin: 0 auto 26px; }
.cta h2 { font-size: 32px; letter-spacing: 8px; color: #1b4332; }
.cta p { color: #2d6a4f; letter-spacing: 4px; margin: 12px 0 30px; }

.footer { background: #1b4332; color: #95d5b2; padding: 54px 0 30px; text-align: center; }
.footer .brand { justify-content: center; margin-bottom: 8px; }
.footer .foot-nav { display: flex; justify-content: center; gap: 30px; list-style: none; margin: 18px 0 22px; flex-wrap: wrap; }
.footer .foot-nav a { color: #95d5b2; font-size: 13px; letter-spacing: 4px; }
.footer .foot-nav a:hover { color: #ffb703; }
.footer p { font-size: 12px; letter-spacing: 2px; color: #52b788; }

.banner { position: relative; overflow: hidden; padding: 150px 0 90px; text-align: center; }
.banner .leaves { position: absolute; inset: 0; }
.banner .branch-top { position: absolute; top: 0; }
.banner h1 { position: relative; font-size: 40px; letter-spacing: 10px; }
.banner .en { position: relative; color: #ffb703; letter-spacing: 6px; font-size: 13px; margin-top: 14px; }
.banner .leaf-divider { position: relative; width: 16px; height: 16px; background: #74c69d; border-radius: 0 60% 0 60%; transform: rotate(-8deg); margin: 16px auto 0; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: center; }
.value-card { background: #fff; border: 3px solid #74c69d; border-radius: 14px; padding: 42px 24px; box-shadow: 0 12px 28px rgba(27, 67, 50, 0.16); }
.value-card .leaf-badge { width: 54px; height: 54px; background: #74c69d; border-radius: 0 60% 0 60%; border: 3px solid #ffb703; margin: 0 auto 18px; transform: rotate(-8deg); position: relative; }
.value-card .leaf-badge::after { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 3px; background: #1b4332; transform: translateX(-50%) rotate(20deg); }
.value-card h4 { font-size: 19px; letter-spacing: 4px; margin-bottom: 10px; }
.value-card p { font-size: 13px; color: #2d6a4f; }

.port-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; }
.port-item .frame-plank img { height: 400px; }
.port-cap { text-align: center; padding: 18px; }
.port-cap h3 { font-size: 22px; letter-spacing: 4px; }
.port-cap p { font-size: 12px; color: #ffb703; letter-spacing: 3px; margin-top: 6px; font-weight: 600; }

.blog-list { max-width: 900px; margin: 0 auto; }
.blog-post { display: grid; grid-template-columns: 300px 1fr; gap: 28px; background: #fff; border: 3px solid #74c69d; border-radius: 14px; box-shadow: 0 12px 28px rgba(27, 67, 50, 0.16); padding: 14px; margin-bottom: 36px; }
.blog-post img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; }
.blog-post h3 { font-size: 22px; letter-spacing: 3px; margin: 10px 0 12px; }
.blog-post p { font-size: 14px; color: #2d6a4f; margin-bottom: 14px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-size: 26px; letter-spacing: 5px; margin-bottom: 28px; }
.info-line { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.info-ico { width: 44px; height: 44px; background: #2d6a4f; color: #d8f3dc; display: flex; align-items: center; justify-content: center; flex: none; font-size: 17px; border-radius: 12px; border: 2px solid #ffb703; }
.info-line h4 { font-size: 15px; letter-spacing: 3px; }
.info-line p { font-size: 13px; color: #2d6a4f; }
.contact-form { background: #fff; border: 3px solid #74c69d; border-radius: 14px; padding: 16px; box-shadow: 0 12px 28px rgba(27, 67, 50, 0.16); }
.contact-form h3 { font-size: 22px; letter-spacing: 5px; margin-bottom: 26px; text-align: center; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; letter-spacing: 3px; margin-bottom: 8px; }
.form-row input, .form-row textarea { width: 100%; border: 2px solid #95d5b2; background: #f1faf3; padding: 13px; font-family: inherit; color: #1b4332; border-radius: 8px; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: #ffb703; }
.form-row textarea { height: 130px; resize: vertical; }
.btn-submit { width: 100%; background: #ffb703; color: #1b4332; border: none; padding: 15px; font-family: inherit; font-size: 15px; letter-spacing: 8px; cursor: pointer; border-radius: 8px; font-weight: 600; transition: all .3s; }
.btn-submit:hover { background: #ffd166; }
.map-box { margin-top: 60px; height: 340px; border: 3px solid #74c69d; border-radius: 14px; background: #f1faf3; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.map-box .leaves { position: absolute; inset: 0; }
.map-pin { width: 42px; height: 42px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #ffb703; border: 2px solid #7f5539; position: relative; }
.map-pin::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #1b4332; position: absolute; left: 14px; top: 14px; }
.map-text { position: absolute; bottom: 22px; font-size: 13px; letter-spacing: 4px; color: #1b4332; background: rgba(241, 250, 243, 0.85); padding: 6px 14px; border-radius: 20px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .topbar.open .nav-wrap { height: auto; flex-wrap: wrap; padding: 14px 0; }
  .topbar.open .nav-links { display: flex; flex-direction: column; gap: 12px; width: 100%; }
  .hero { padding: 130px 0 80px; }
  .hero h1 { font-size: 30px; letter-spacing: 6px; }
  .hero-img { height: 260px; }
  .about-split, .contact-grid, .blog-post { grid-template-columns: 1fr; }
  .room-grid, .blog-grid, .team-grid, .value-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .port-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .frame-plank img { height: 300px; }
}


/* ===== CMS helpers ===== */
.form-alert{padding:12px 16px;border-radius:8px;margin:0 0 16px;font-size:.92rem;line-height:1.6}
.form-alert-ok{background:rgba(46,160,67,.08);border:1px solid rgba(46,160,67,.35);color:#2ea043}
.form-alert-err{background:rgba(220,53,69,.08);border:1px solid rgba(220,53,69,.35);color:#dc3545}
.form-alert ul{margin:0;padding-left:18px}
.cms-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:44px 0 0}
.cms-pager a,.cms-pager span{min-width:38px;padding:8px 13px;border:1px solid rgba(128,128,128,.35);border-radius:6px;text-align:center;text-decoration:none;color:inherit}
.cms-pager .active{background:var(--c-primary);border-color:var(--c-primary);color:#fff}
.detail-page{max-width:1100px;margin:0 auto;padding:72px 24px}
.detail-media{width:100%;max-height:520px;object-fit:cover;border-radius:14px;margin-bottom:26px;display:block}
.detail-title{font-size:clamp(26px,3vw,38px);line-height:1.3;margin-bottom:12px}
.detail-meta{color:#777;font-size:.95rem;margin-bottom:20px}
.detail-body{line-height:1.9;color:#444}
.detail-body p{margin-bottom:1em}
.detail-body img{max-width:100%;height:auto;border-radius:10px}
.detail-back{display:inline-block;margin-top:28px;padding:11px 26px;border:1px solid rgba(128,128,128,.4);border-radius:999px;text-decoration:none;color:inherit}
/* ===== 深色 banner 标题白字（避免 h1 与背景同色不可读） ===== */
.banner--ink h1,.banner--purple h1,.banner--coral h1{color:#fff}
/* ===== 阅读全文按钮（硬边 neo-brutalist 风格） ===== */
.news-item .more{display:inline-block;margin-top:14px;padding:10px 20px;background:var(--c-ink);color:#fff;border:var(--border-2);box-shadow:var(--shadow-sm);font-family:var(--font-en);font-weight:800;font-size:.85rem;letter-spacing:.02em;text-decoration:none;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}
.news-item .more:hover{background:var(--c-coral);transform:translate(-2px,-2px);box-shadow:var(--shadow)}
/* ===== 留言板一行一个 input（01 翰墨轩） ===== */
.form-grid{grid-template-columns:1fr}
