/* ========== 秀賢悠活長照集團 ========== */
:root {
  /* 溫馨居家 (default) */
  --bg: #F7F1E8;
  --bg-alt: #EFE6D6;
  --bg-card: #FDFAF4;
  --ink: #3A3330;
  --ink-soft: #6B5F55;
  --ink-muted: #9B8F82;
  --line: #E3D6C0;
  --wood: #C89968;
  --wood-deep: #A8784A;
  --leaf: #6B8E7F;
  --leaf-deep: #4E7265;
  --warm: #D9906B;
  --accent: var(--wood);
  --accent-deep: var(--wood-deep);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(58, 51, 48, 0.04), 0 8px 24px rgba(168, 120, 74, 0.08);
  --shadow-lg: 0 2px 4px rgba(58, 51, 48, 0.05), 0 24px 60px rgba(168, 120, 74, 0.14);
  --font-serif: "Noto Serif TC", "Songti TC", "PingFang TC", serif;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --stripe-1: #E8D9BE;
  --stripe-2: #DDC8A3;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0.02em; }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.25; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.3; }
h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent-deep);
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--accent-deep);
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 241, 232, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 16px rgba(0,0,0,.03); }
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-brand .brand-mark { width: 64px; height: 64px; }
.brand-name { font-family: var(--font-serif); font-size: 19px; font-weight: 600; line-height: 1.2; }
.brand-name small { display: block; font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.25em; color: var(--ink-muted); font-weight: 400; margin-top: 2px; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 15px;
  padding: 8px 14px; border-radius: 999px;
  white-space: nowrap;
  transition: all .2s; font-weight: 500;
}
.nav-links a:hover { color: var(--accent-deep); background: var(--bg-alt); }
.nav-links a.active { color: var(--accent-deep); background: var(--bg-alt); }

.nav-cta {
  background: var(--ink); color: var(--bg-card);
  padding: 10px 20px; border-radius: 999px; font-size: 14px;
  text-decoration: none; font-weight: 500;
  transition: all .2s;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

/* ============ HERO ============ */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 400px at 15% 20%, rgba(200, 153, 104, 0.12), transparent 60%),
    radial-gradient(ellipse 700px 500px at 95% 80%, rgba(107, 142, 127, 0.10), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px;
  align-items: center; position: relative;
}
.hero-text .eyebrow { margin-bottom: 24px; }
.hero-text h1 { margin-bottom: 24px; color: var(--ink); }
.hero-text h1 em {
  font-style: normal; color: var(--accent-deep);
  background: linear-gradient(180deg, transparent 62%, rgba(200, 153, 104, 0.25) 62%);
  padding: 0 4px;
}
.hero-text p.lead {
  font-size: 19px; color: var(--ink-soft); max-width: 520px;
  margin-bottom: 36px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: all .25s; border: none; cursor: pointer;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--ink); color: var(--bg-card);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-card); }

.hero-visual {
  position: relative; aspect-ratio: 5/4;
}
.hero-photo {
  position: absolute; inset: 0; border-radius: 32px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  background:
    repeating-linear-gradient(135deg, var(--stripe-1) 0 18px, var(--stripe-2) 18px 36px);
  display: grid; place-items: center;
}
.hero-photo::after {
  content: "〔主視覺｜長輩與照服員溫馨互動實景〕";
  font-family: ui-monospace, "Menlo", monospace;
  font-size: 13px; color: var(--ink-soft);
  background: rgba(253, 250, 244, 0.78); padding: 10px 18px;
  border-radius: 999px; backdrop-filter: blur(4px);
}
.hero-badge {
  position: absolute; z-index: 2;
  background: var(--bg-card); padding: 18px 22px;
  border-radius: 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
}
.hero-badge.tl { top: -18px; left: -22px; }
.hero-badge.br { bottom: -18px; right: -22px; }
.hero-badge-icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-alt); color: var(--accent-deep);
}
.hero-badge-text { font-size: 13px; color: var(--ink-soft); line-height: 1.3; }
.hero-badge-text strong { display: block; color: var(--ink); font-size: 16px; font-family: var(--font-serif); }

/* ============ 集團介紹 ============ */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-header { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 20px; }
.section-header p { color: var(--ink-soft); font-size: 17px; }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-visual {
  aspect-ratio: 4/5; border-radius: 24px;
  background: repeating-linear-gradient(45deg, var(--stripe-1) 0 14px, var(--stripe-2) 14px 28px);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-visual::after {
  content: "〔集團形象照｜創辦故事〕";
  font-family: ui-monospace, monospace; font-size: 13px;
  color: var(--ink-soft); background: rgba(253, 250, 244, 0.8);
  padding: 8px 16px; border-radius: 999px;
}
.about-text .eyebrow { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: var(--ink-soft); margin-bottom: 18px; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 36px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.stat-num { font-family: var(--font-serif); font-size: 36px; color: var(--accent-deep); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: var(--ink-muted); }

/* ============ 機構介紹 ============ */
.branches-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.branch-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border: 1px solid transparent;
}
.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line);
}
.branch-photo {
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(
    var(--angle, 135deg),
    var(--stripe-1) 0 16px, var(--stripe-2) 16px 32px);
  display: grid; place-items: center;
  position: relative;
}
.branch-photo span {
  font-family: ui-monospace, monospace; font-size: 12px;
  color: var(--ink-soft); background: rgba(253, 250, 244, 0.82);
  padding: 6px 12px; border-radius: 999px;
}
.branch-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.branch-tag {
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--leaf-deep); margin-bottom: 10px;
  font-weight: 500;
}
.branch-name {
  font-family: var(--font-serif); font-size: 18px;
  line-height: 1.45; margin-bottom: 14px;
  color: var(--ink); min-height: 52px;
}
.branch-meta { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.branch-meta div { font-size: 13px; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; }
.branch-meta svg { flex-shrink: 0; color: var(--ink-muted); margin-top: 2px; }
.branch-arrow {
  margin-top: 14px; font-size: 13px; color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 6px; font-weight: 500;
}
.branch-card:hover .branch-arrow { gap: 10px; }

/* ============ 特色 ============ */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.feature {
  background: var(--bg-card); padding: 36px 30px;
  border-radius: var(--radius); box-shadow: var(--shadow);
  position: relative;
  transition: all .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--bg-alt); color: var(--accent-deep);
  display: grid; place-items: center; margin-bottom: 20px;
}
.feature h3 { margin-bottom: 12px; font-size: 20px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* ============ 服務 ============ */
.services-layout {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start;
}
.service-list { display: flex; flex-direction: column; gap: 14px; }
.service-item {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 22px 26px; cursor: pointer;
  border: 1px solid var(--line);
  transition: all .3s;
}
.service-item.open { border-color: var(--accent); box-shadow: var(--shadow); }
.service-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.service-head h4 { font-family: var(--font-serif); font-size: 19px; color: var(--ink); font-weight: 600; }
.service-head .plus {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-alt); display: grid; place-items: center;
  color: var(--accent-deep); transition: all .3s;
  flex-shrink: 0;
}
.service-item.open .plus { background: var(--accent); color: #fff; transform: rotate(45deg); }
.service-body {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, margin-top .3s;
}
.service-item.open .service-body { max-height: 200px; margin-top: 14px; }
.service-body p { color: var(--ink-soft); font-size: 15px; }

.service-visual {
  aspect-ratio: 1/1; border-radius: 24px;
  background: repeating-linear-gradient(165deg, var(--stripe-1) 0 16px, var(--stripe-2) 16px 32px);
  position: relative;
  box-shadow: var(--shadow-lg);
  position: sticky; top: 110px;
  display: grid; place-items: center;
}
.service-visual::after {
  content: "〔照護服務情境照〕";
  font-family: ui-monospace, monospace; font-size: 13px;
  color: var(--ink-soft); background: rgba(253, 250, 244, 0.85);
  padding: 8px 16px; border-radius: 999px;
}

/* Env tabs */
.env-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px; justify-content: center;
  background: var(--bg-card); padding: 8px; border-radius: 999px;
  box-shadow: var(--shadow); width: fit-content; margin-left: auto; margin-right: auto;
}
.env-tab {
  padding: 10px 22px; border-radius: 999px; border: none;
  background: transparent; color: var(--ink-soft);
  font-family: var(--font-sans); font-size: 15px; cursor: pointer;
  transition: all .25s; display: flex; flex-direction: column; align-items: center;
  line-height: 1.2;
}
.env-tab small { font-size: 11px; color: var(--ink-muted); letter-spacing: 0.1em; margin-top: 2px; }
.env-tab:hover { color: var(--accent-deep); }
.env-tab.active { background: var(--ink); color: #fff; }
.env-tab.active small { color: rgba(255,255,255,0.65); }
.env-caption { text-align: center; margin-top: 24px; color: var(--ink-soft); font-size: 14px; font-family: var(--font-serif); }

/* ============ 環境 ============ */
.env-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 16px; height: 560px;
}
.env-cell {
  border-radius: var(--radius); overflow: hidden;
  background: repeating-linear-gradient(var(--angle, 135deg), var(--stripe-1) 0 14px, var(--stripe-2) 14px 28px);
  position: relative; cursor: pointer;
  transition: all .3s;
  display: grid; place-items: end start;
  padding: 24px;
}
.env-cell:hover { transform: scale(1.01); }
.env-cell:nth-child(1) { grid-row: 1 / 3; --angle: 135deg; }
.env-cell:nth-child(2) { --angle: 45deg; }
.env-cell:nth-child(3) { --angle: 90deg; }
.env-cell:nth-child(4) { --angle: 180deg; }
.env-cell:nth-child(5) { --angle: 60deg; }
.env-label {
  background: rgba(253, 250, 244, 0.92); padding: 10px 18px;
  border-radius: 12px; font-family: var(--font-serif);
  font-size: 15px; color: var(--ink); font-weight: 500;
  backdrop-filter: blur(4px);
}
.env-label small { display: block; font-family: ui-monospace, monospace; font-size: 11px; color: var(--ink-muted); font-weight: 400; margin-top: 2px; }

/* ============ 最新消息 ============ */
.news-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.news-card {
  background: var(--bg-card); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all .3s;
  display: flex; flex-direction: column;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--line); }
.news-card-photo {
  aspect-ratio: 16/10;
  background: repeating-linear-gradient(var(--angle,135deg), var(--stripe-1) 0 14px, var(--stripe-2) 14px 28px);
  display: grid; place-items: center;
}
.news-card-photo span {
  background: rgba(253,250,244,0.85); padding: 5px 12px; border-radius: 999px;
  font-family: ui-monospace, monospace; font-size: 11px; color: var(--ink-soft);
}
.news-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-date {
  font-family: var(--font-serif); font-size: 14px;
  color: var(--accent-deep); margin-bottom: 10px;
  display: flex; align-items: baseline; gap: 10px;
}
.news-date .day { font-size: 26px; }
.news-tag {
  display: inline-block; font-size: 11px;
  background: var(--bg-alt); color: var(--ink-soft);
  padding: 3px 10px; border-radius: 999px;
  margin-bottom: 10px; align-self: flex-start;
  letter-spacing: 0.15em;
}
.news-card h4 {
  font-family: var(--font-serif); font-size: 17px;
  color: var(--ink); line-height: 1.5; margin-bottom: 10px; flex: 1;
}
.news-card p { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }

/* ============ 相簿 ============ */
.album-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.album-card {
  aspect-ratio: 1/1; border-radius: var(--radius);
  overflow: hidden; position: relative;
  background: repeating-linear-gradient(var(--angle, 135deg), var(--stripe-1) 0 14px, var(--stripe-2) 14px 28px);
  cursor: pointer;
  transition: all .3s;
}
.album-card:nth-child(2) { --angle: 45deg; }
.album-card:nth-child(3) { --angle: 90deg; }
.album-card:nth-child(4) { --angle: 0deg; }
.album-card:nth-child(5) { --angle: 60deg; }
.album-card:nth-child(6) { --angle: 120deg; }
.album-card:nth-child(7) { --angle: 30deg; }
.album-card:nth-child(8) { --angle: 150deg; }
.album-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.album-overlay {
  position: absolute; inset: auto 0 0 0; padding: 18px;
  background: linear-gradient(to top, rgba(58,51,48,0.75), transparent);
  color: #fff;
}
.album-overlay h5 { font-family: var(--font-serif); font-size: 15px; margin-bottom: 2px; }
.album-overlay span { font-size: 11px; opacity: 0.85; }

/* ============ 收費 ============ */
.fee-intro {
  background: var(--bg-card); border-radius: 24px;
  padding: 40px; margin-bottom: 32px;
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  align-items: center;
}
.fee-intro p { font-size: 16px; color: var(--ink-soft); max-width: 620px; }
.fee-intro strong { color: var(--ink); font-weight: 500; }
.fee-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.fee-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 22px;
  display: flex; justify-content: space-between; align-items: center;
  text-decoration: none; color: inherit;
  transition: all .25s;
}
.fee-card:hover { border-color: var(--accent); background: var(--bg-card); transform: translateX(4px); }
.fee-card-name { font-family: var(--font-serif); font-size: 15px; color: var(--ink); line-height: 1.4; }
.fee-card-arrow { color: var(--accent-deep); flex-shrink: 0; margin-left: 12px; }

/* ============ 入住準備 ============ */
.prep-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.prep-step {
  position: relative; padding: 32px 24px 28px;
  background: var(--bg-card); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.prep-num {
  font-family: var(--font-serif); font-size: 48px;
  color: var(--accent); line-height: 1; opacity: 0.5;
  margin-bottom: 14px;
}
.prep-step h4 { font-family: var(--font-serif); font-size: 19px; margin-bottom: 12px; color: var(--ink); }
.prep-step ul { list-style: none; }
.prep-step li {
  font-size: 14px; color: var(--ink-soft); padding: 6px 0;
  padding-left: 20px; position: relative;
}
.prep-step li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  color: var(--leaf); font-weight: 600;
}

/* ============ 聯絡 CTA ============ */
.contact-cta {
  background: linear-gradient(135deg, var(--wood) 0%, var(--wood-deep) 100%);
  border-radius: 32px; padding: 64px 56px;
  color: #fff; display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.contact-cta::before {
  content: ""; position: absolute; top: -40%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
}
.contact-cta h2 { color: #fff; margin-bottom: 18px; }
.contact-cta p { color: rgba(255,255,255,0.88); font-size: 17px; margin-bottom: 8px; }
.contact-cta .btn-primary { background: #fff; color: var(--accent-deep); }
.contact-cta .btn-primary:hover { background: var(--bg); }
.contact-actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.contact-phone {
  font-family: var(--font-serif); font-size: 34px; color: #fff;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}

/* ============ Footer ============ */
.footer {
  background: #2E2823; color: #D6CFC6;
  padding: 72px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: 60px; margin-bottom: 48px; }
.footer-brand .brand-mark { margin-bottom: 20px; }
.footer-brand h3 { color: #fff; font-family: var(--font-serif); font-size: 22px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: #9C9389; line-height: 1.8; max-width: 360px; }
.footer-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer-branch { font-size: 13px; color: #B8AFA4; }
.footer-branch strong { display: block; color: #fff; font-family: var(--font-serif); font-size: 14px; margin-bottom: 8px; font-weight: 500; }
.footer-branch div { display: flex; gap: 8px; padding: 3px 0; align-items: flex-start; }
.footer-branch svg { margin-top: 3px; flex-shrink: 0; opacity: 0.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; font-size: 13px; color: #7A7268;
}

/* ============ Tweaks 面板 ============ */
.tweaks-panel {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px; width: 260px;
  box-shadow: var(--shadow-lg);
  display: none;
  font-family: var(--font-sans);
}
.tweaks-panel.visible { display: block; animation: slide-up .3s ease; }
@keyframes slide-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.tweaks-panel h5 {
  font-family: var(--font-serif); font-size: 15px;
  color: var(--ink); margin-bottom: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-row { margin-bottom: 14px; }
.tweaks-row:last-child { margin-bottom: 0; }
.tweaks-label { font-size: 12px; color: var(--ink-muted); margin-bottom: 8px; letter-spacing: 0.1em; }
.tweaks-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: var(--bg-alt); padding: 4px; border-radius: 999px;
}
.tweaks-toggle button {
  padding: 8px 12px; border-radius: 999px; border: none;
  font-size: 13px; cursor: pointer; background: transparent;
  color: var(--ink-soft); transition: all .2s;
  font-family: var(--font-sans);
}
.tweaks-toggle button.active {
  background: var(--ink); color: var(--bg-card);
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .services-layout, .contact-cta { grid-template-columns: 1fr; gap: 40px; }
  .features-grid, .news-grid, .album-grid, .prep-grid, .env-grid, .footer-grid, .footer-branches { grid-template-columns: 1fr 1fr; }
  .env-grid { height: auto; grid-template-rows: auto; }
  .env-cell { aspect-ratio: 4/3; }
  .env-cell:nth-child(1) { grid-row: auto; grid-column: 1 / 3; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .section { padding: 72px 0; }
  .hero { padding: 110px 0 60px; }
  .contact-cta { padding: 44px 28px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .features-grid, .news-grid, .album-grid, .prep-grid, .footer-branches { grid-template-columns: 1fr; }
  .env-grid { grid-template-columns: 1fr; }
  .env-cell:nth-child(1) { grid-column: auto; }
  .hero-badge.tl, .hero-badge.br { display: none; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .brand-name small { display: none; }
}
