/* ============================================
   SE RENOVATION DESIGN SYSTEM
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --maroon: #7B2337;
  --maroon-light: #9B3349;
  --maroon-dark: #5A1A29;
  --brass: #C4935A;
  --brass-light: #D4AD78;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text-primary: #271E1F;
  --text-secondary: #6B7280;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

body { font-family: var(--font); background: var(--bg); color: var(--text-primary); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* === NAV === */
.nav { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; height: 64px; display: flex; align-items: center; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo img { height: 32px; }
.nav__logo-text { font-weight: 700; font-size: 15px; color: var(--text-primary); line-height: 1.2; }
.nav__logo-sub { font-size: 11px; color: var(--text-secondary); font-weight: 400; }
.nav__cta { background: var(--maroon); color: white; padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; display: inline-block; }
@media (max-width: 480px) { .nav__logo-text { font-size: 13px; } .nav__cta { padding: 8px 14px; font-size: 12px; } }

/* === BREADCRUMB === */
.breadcrumb { padding: 12px 24px; max-width: 1200px; margin: 0 auto; font-size: 13px; color: var(--text-secondary); }
.breadcrumb a { color: var(--maroon); }
.breadcrumb span { margin: 0 6px; }

/* === ARTICLE === */
.article { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.article h1 { font-size: clamp(22px, 3.5vw, 30px); font-weight: 700; line-height: 1.3; margin-bottom: 8px; color: #271E1F; }
.article__meta { font-size: 13px; color: #9CA3AF; margin-bottom: 28px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.article__meta-badge { background: #FEF3C7; color: #92400E; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.05em; }
.article__featured-img { width: 100%; height: 240px; border-radius: 12px; margin-bottom: 28px; background: linear-gradient(135deg, #7B2337 0%, #C4935A 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.article__featured-img img { width: 100%; height: 100%; object-fit: cover; }
.article__featured-img-placeholder { color: white; font-size: 14px; text-align: center; padding: 20px; opacity: 0.7; }
.article__body { font-size: 16px; line-height: 1.8; color: #271E1F; }
.article__body h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; color: var(--text-primary); border-left: 3px solid var(--maroon); padding-left: 14px; }
.article__body h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; color: var(--text-primary); }
.article__body p { margin-bottom: 16px; }
.article__body ul, .article__body ol { padding-left: 24px; margin-bottom: 16px; }
.article__body li { margin-bottom: 8px; }
.article__body strong { font-weight: 600; }
.article__body a { color: var(--maroon); text-decoration: underline; }

/* === DATA TABLE === */
.cost-table { background: #F9FAFB; border-radius: 10px; padding: 16px; border: 1px solid #E5E7EB; margin: 20px 0; font-size: 14px; overflow-x: auto; }
.cost-table table { width: 100%; border-collapse: collapse; }
.cost-table th { text-align: left; font-weight: 600; padding: 8px 12px; border-bottom: 2px solid #E5E7EB; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-secondary); }
.cost-table td { padding: 8px 12px; border-bottom: 1px solid #F3F4F6; }
.cost-table tr:last-child td { border-bottom: none; }

/* === CALLOUT === */
.callout { background: #FDF8F4; border: 1px solid #EACFB5; border-left: 4px solid var(--brass); border-radius: var(--radius-md); padding: 18px 20px; margin: 24px 0; }
.callout--maroon { background: #FDF5F6; border-color: #F5C2C7; border-left-color: var(--maroon); }
.callout__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brass); margin-bottom: 6px; }
.callout--maroon .callout__label { color: var(--maroon); }
.callout p { font-size: 14px; line-height: 1.7; margin: 0; color: var(--text-primary); }

/* === FAQ === */
.faq-block { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin: 24px 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 15px; font-weight: 600; padding: 16px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); }
.faq-q:hover { background: #F9FAFB; }
.faq-q .icon { font-size: 18px; color: var(--maroon); flex-shrink: 0; transition: transform 0.3s; }
.faq-a { font-size: 14px; line-height: 1.8; color: var(--text-secondary); padding: 0 20px 16px; display: none; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-item.open .faq-a { display: block; }

/* === CTA BANNER === */
.cta-banner { background: linear-gradient(135deg, var(--maroon) 0%, #5A1A29 100%); border-radius: var(--radius-xl); padding: 40px 32px; text-align: center; margin: 40px 0; color: white; }
.cta-banner h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cta-banner p { font-size: 15px; opacity: 0.85; margin-bottom: 24px; }
.cta-banner__btn { display: inline-block; background: white; color: var(--maroon); padding: 14px 32px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; }

/* === RELATED === */
.related { padding: 40px 24px 60px; background: #F9FAFB; }
.related h2 { font-size: 20px; font-weight: 700; text-align: center; margin-bottom: 24px; }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) { .related-posts-grid { grid-template-columns: 1fr; max-width: 400px; } }
.related-card { background: white; border-radius: var(--radius-md); border: 1px solid var(--border); padding: 20px; }
.related-card__tag { font-size: 11px; font-weight: 600; color: var(--brass); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.related-card__title { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text-primary); margin-bottom: 8px; }
.related-card__link { font-size: 13px; color: var(--maroon); font-weight: 500; }

/* === FOOTER === */
.footer { background: #1A0E10; color: white; padding: 40px 24px 24px; }
.footer__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
@media (max-width: 600px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__brand h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.footer__brand p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer__links h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.05em; }
.footer__links ul { list-style: none; }
.footer__links li { margin-bottom: 6px; }
.footer__links a { font-size: 13px; color: rgba(255,255,255,0.55); }
.footer__copy { max-width: 1200px; margin: 0 auto; font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; }

/* === MOBILE BOTTOM BAR === */
.mobile-bottom-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid var(--border); padding: 12px 16px; z-index: 200; box-shadow: 0 -4px 16px rgba(0,0,0,0.08); }
@media (max-width: 768px) { .mobile-bottom-bar { display: flex; gap: 10px; } }
.mobile-bottom-bar a, .mobile-bottom-bar button { flex: 1; text-align: center; padding: 10px; border-radius: 8px; font-weight: 600; font-size: 13px; min-height: 48px; display: flex; align-items: center; justify-content: center; font-family: var(--font); }
.mobile-bottom-bar a { background: #F3F4F6; color: var(--text-primary); border: none; }
.mobile-bottom-bar button { background: var(--maroon); color: white; border: none; cursor: pointer; }
