/* ============================================================
   주식회사 위든 (Withen Co., Ltd.) — styles.css v3
   Design: young & vibrant startup, Pretendard, gold accent
   ============================================================ */

/* ---------- 1. Custom Properties ---------- */
:root {
  --ink:     #27272a;
  --paper:   #fafaf8;
  --mist:    #ebebeb;
  --ash:     #888884;
  --gold:    #F59E0B;
  --gold-bg: #fffbeb;

  --color-error:   #c0392b;
  --color-success: #2d6a4f;

  --nav-h:   60px;
  --max-w:   1080px;
  --radius:  12px;
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);

  --font-sans: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', sans-serif;
}

[data-theme="dark"] {
  --ink:     #f0f0ec;
  --paper:   #111110;
  --mist:    #252520;
  --ash:     #777772;
  --gold:    #FBBF24;
  --gold-bg: #1c1600;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 0.9375rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.35s ease, color 0.35s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; }

p { color: var(--ash); line-height: 1.75; }

.section-label {
  display: block;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--ink);
  text-align: center;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 0.9375rem;
  max-width: 560px;
  color: var(--ash);
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  border-top: 1px solid var(--mist);
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.6875rem 1.625rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.btn--primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--mist);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.btn--white {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

.btn--white:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.45);
}

.btn--sm  { padding: 0.5rem 1.125rem; font-size: 0.8125rem; }
.btn--lg  { padding: 0.875rem 2.25rem; font-size: 0.9375rem; }

/* ---------- 6. Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--paper);
  border-bottom: 1px solid var(--mist);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: var(--paper);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

[data-theme="dark"] .nav {
  background: #1c1917;
  border-bottom-color: rgba(255,255,255,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.nav__logo-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

/* Nav links */
.nav__links {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

.nav__links a {
  padding: 0.4375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  color: var(--ash);
  transition: color 0.2s ease;
}

.nav__links a:hover { color: var(--ink); }
.nav__links a.active { color: var(--ink); font-weight: 600; }

/* Nav actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav__theme-btn {
  background: none;
  border: 1px solid var(--mist);
  border-radius: 6px;
  padding: 0.3125rem 0.5rem;
  cursor: pointer;
  color: var(--ash);
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav__theme-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.375rem;
  width: 34px;
  height: 34px;
}

.nav__hamburger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav__mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--mist);
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
  z-index: 999;
}

.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
}

.nav__mobile a {
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ash);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.nav__mobile a:hover,
.nav__mobile a.active {
  color: var(--ink);
  background: var(--mist);
}

.nav__mobile .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .nav__links     { display: flex; }
  .nav__hamburger { display: none; }
}

/* ---------- 7. Fade-in Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 8. Hero ---------- */
.hero {
  background: var(--gold);
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  position: relative;
}

.hero__content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.hero__title .highlight {
  font-style: italic;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.hero__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 4.5rem;
  justify-content: center;
}

.hero__scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}

/* ---------- 9. Product Cards (핵심 섹션) ---------- */
.products-section {
  padding: 6rem 0;
  border-top: 1px solid var(--mist);
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(196, 154, 26, 0.12);
}

[data-theme="dark"] .product-card:hover {
  box-shadow: 0 12px 40px rgba(224, 185, 58, 0.1);
}

.product-card__num {
  font-size: 5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.06em;
  line-height: 1;
  opacity: 0.25;
}

[data-theme="dark"] .product-card__num { opacity: 0.18; }

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  justify-content: center;
}

.product-card__title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.product-card__en {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ash);
  letter-spacing: 0.04em;
  margin-top: -0.5rem;
}

.product-card__desc {
  font-size: 0.875rem;
  color: var(--ash);
  line-height: 1.75;
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--mist);
  margin-top: auto;
}

/* ---------- 10. Tags & Badges ---------- */
.tag {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 500;
  border-radius: 100px;
  background: transparent;
  color: var(--ash);
  border: 1px solid var(--mist);
  letter-spacing: 0.01em;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

.badge--dev {
  background: var(--gold);
  color: #fff;
}

/* ---------- 11. Business Section ---------- */
.business-section {
  padding: 6rem 0;
  border-top: 1px solid var(--mist);
}

.biz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
}

.biz-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--mist);
}

.biz-item:nth-child(odd):last-child {
  border-bottom: none;
}

@media (min-width: 640px) {
  .biz-item:nth-last-child(-n+2) { border-bottom: none; }
  .biz-item:nth-child(odd)  { padding-right: 2rem; }
  .biz-item:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--mist); }
}

.biz-item__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 36px;
  line-height: 1;
  padding-top: 2px;
}

.biz-item__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.biz-item__desc {
  font-size: 0.8125rem;
  color: var(--ash);
  line-height: 1.6;
  margin: 0;
}

/* ---------- 12. CTA Section ---------- */
.cta-section {
  background: var(--gold);
  padding: 7rem 0;
}

[data-theme="dark"] .cta-section {
  background: #92400e;
  border-top: none;
  border-bottom: none;
}

.cta-section .section-label { color: rgba(0,0,0,0.45); }

.cta-section__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-section__desc {
  color: rgba(255,255,255,0.75);
  max-width: 460px;
  font-size: 0.9375rem;
  margin: 0 auto 2.5rem;
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- 13. Footer ---------- */
.footer {
  background: #1c1917;
  padding: 3.5rem 0 1.5rem;
  border-top: none;
}

[data-theme="dark"] .footer {
  background: #0c0a09;
  border-top: 1px solid var(--mist);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.footer__logo:hover { opacity: 1; }
.footer__logo img { height: 32px; width: auto; }

.footer__brand-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer__brand-desc {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

[data-theme="dark"] .footer__brand-desc { color: var(--ash); }

.footer__col-heading {
  color: var(--gold);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col ul a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s ease;
}

[data-theme="dark"] .footer__col ul a { color: var(--ash); }
.footer__col ul a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

[data-theme="dark"] .footer__bottom {
  border-color: var(--mist);
  color: var(--ash);
}

@media (min-width: 640px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

.footer__bottom a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s ease;
}

[data-theme="dark"] .footer__bottom a { color: var(--ash); }
.footer__bottom a:hover { color: var(--gold); }

/* ---------- 14. Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--paper);
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
  border-bottom: 1px solid var(--mist);
  text-align: center;
}

.page-hero .section-label { color: var(--gold); }

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  margin-top: 0.375rem;
  margin-bottom: 0.875rem;
  letter-spacing: -0.025em;
}

.page-hero p {
  color: var(--ash);
  max-width: 520px;
  font-size: 0.9375rem;
  margin: 0 auto;
}

/* ---------- 15. Divider ---------- */
.divider {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
}

.text-center .divider { margin: 1rem auto 1.5rem; }

/* ---------- 16. Card (generic) ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.card__icon { font-size: 1.5rem; margin-bottom: 1rem; }
.card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--ink); }
.card__desc  { font-size: 0.875rem; color: var(--ash); line-height: 1.75; }

/* ---------- 17. Business Card (business.html) ---------- */
.biz-card {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s ease;
}

.biz-card:hover { border-color: var(--gold); }
.biz-card__num  { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.75rem; display: block; }
.biz-card__icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.biz-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--ink); }
.biz-card__desc  { font-size: 0.875rem; color: var(--ash); line-height: 1.75; }
.biz-card__tags  { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }

/* ---------- 18. Info Card ---------- */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
}

.info-card__icon  { font-size: 1.25rem; flex-shrink: 0; }
.info-card__label { font-size: 0.6875rem; color: var(--ash); margin-bottom: 0.25rem; }
.info-card__value { font-size: 0.875rem; font-weight: 600; color: var(--ink); }

/* ---------- 19. Strength Item ---------- */
.strength-item {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
  padding: 1.375rem;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  transition: border-color 0.3s ease;
}

.strength-item:hover { border-color: var(--gold); }
.strength-item__icon  { flex-shrink: 0; font-size: 1.25rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.strength-item__title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.375rem; color: var(--ink); }
.strength-item__desc  { font-size: 0.8125rem; color: var(--ash); line-height: 1.7; }

/* ---------- 20. Mission / Vision Cards ---------- */
.mv-card {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 2rem;
}

.mv-card__type  { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.875rem; }
.mv-card__quote { font-size: 1.1rem; font-weight: 700; color: var(--ink); line-height: 1.55; margin-bottom: 0.875rem; }
.mv-card__desc  { font-size: 0.875rem; color: var(--ash); line-height: 1.75; }

/* ---------- 21. Value Card ---------- */
.value-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--mist);
  transition: border-color 0.3s ease;
}

.value-card:hover { border-color: var(--gold); }
.value-card__icon  { font-size: 2rem; margin-bottom: 0.875rem; }
.value-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--ink); }
.value-card__desc  { font-size: 0.8125rem; color: var(--ash); }

/* ---------- 22. Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0.5rem; bottom: 0; left: 0;
  width: 1px;
  background: var(--mist);
}

.timeline-item {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px; top: 0.4rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline-item__year  { font-size: 0.6875rem; font-weight: 600; color: var(--gold); margin-bottom: 0.25rem; letter-spacing: 0.08em; }
.timeline-item__title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.375rem; color: var(--ink); }
.timeline-item__desc  { font-size: 0.8125rem; color: var(--ash); line-height: 1.7; }

/* ---------- 23. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--ash);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--ash); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: 0.5; }

/* ---------- 24. Contact Form ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label { font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.form-label span { color: var(--color-error); margin-left: 0.2rem; }

.form-control {
  padding: 0.6875rem 0.875rem;
  border: 1px solid var(--mist);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-control.error   { border-color: var(--color-error); }
.form-control.success { border-color: var(--color-success); }

select.form-control   { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 140px; }

.form-error { font-size: 0.75rem; color: var(--color-error); display: none; }
.form-error.visible { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-success {
  display: none;
  background: var(--paper);
  border: 1px solid var(--mist);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}

.form-success.visible     { display: block; }
.form-success .success-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.form-success h3 { color: var(--ink); font-size: 1.25rem; margin-bottom: 0.75rem; }
.form-success p  { color: var(--ash); }

@media (min-width: 768px) {
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

/* ---------- 25. Privacy Content ---------- */
.privacy-content h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mist);
  color: var(--ink);
}

.privacy-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.privacy-content p {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--ash);
  line-height: 1.8;
}

.privacy-content ul {
  margin: 0.75rem 0 1rem 1.25rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.privacy-content ul li {
  font-size: 0.875rem;
  color: var(--ash);
  line-height: 1.75;
}

/* ---------- 26. Section (generic inner pages) ---------- */
.section {
  padding: 6rem 0;
  border-top: 1px solid var(--mist);
}

.section--alt {
  background: color-mix(in srgb, var(--mist) 25%, var(--paper));
}

[data-theme="dark"] .section--alt {
  background: color-mix(in srgb, var(--mist) 18%, var(--paper));
}

/* ---------- 27. Responsive ---------- */
@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .products-section { padding: 4rem 0; }
  .business-section { padding: 4rem 0; }
  .cta-section { padding: 5rem 0; }
  .hero { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 4rem; }
}

/* ---------- 28. Counter animation (kept for compat) ---------- */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mist);
}

.hero__stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--ash);
  margin-top: 0.25rem;
}

/* ---------- 29. Project Card (compat for other pages) ---------- */
.project-card {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.project-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.project-card__title { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 0; }
.project-card__desc  { font-size: 0.8125rem; color: var(--ash); line-height: 1.75; flex: 1; }

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--mist);
}
