/* === CSS Variables === */
:root {
  --color-primary: #1e3a5f;
  --color-accent: #2563eb;
  --color-bg: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-section: #f0f5ff;
  --color-text: #1a202c;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-cta-bg: #1e3a5f;
  --font-main: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --transition: 0.3s ease;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(30,58,95,0.08);
  --max-w: 1200px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--color-text); background: var(--color-bg); line-height: 1.7; font-size: 16px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === Container === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* === Section Common === */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--color-primary); margin-bottom: 16px; }
.section-subtitle { color: var(--color-text-muted); font-size: 1rem; margin-bottom: 56px; }
.section-header { text-align: center; margin-bottom: 56px; }

/* === Header === */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(30,58,95,0.1); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.site-logo {
  font-size: 1.15rem; font-weight: 800; color: var(--color-primary);
  letter-spacing: -0.02em; white-space: nowrap;
}
.site-logo span { color: var(--color-accent); }
.site-nav ul { display: flex; gap: 8px; align-items: center; }
.site-nav a {
  padding: 8px 14px; border-radius: 6px; font-size: 0.9rem; font-weight: 600;
  color: var(--color-text); transition: all var(--transition);
}
.site-nav a:hover, .site-nav a.active { color: var(--color-accent); background: var(--color-bg-section); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--color-primary); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Mobile Nav === */
#mobile-nav {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: white; z-index: 999; overflow-y: auto; padding: 24px;
}
#mobile-nav.open { display: block; }
#mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
#mobile-nav a {
  display: block; padding: 14px 16px; font-size: 1rem; font-weight: 600;
  color: var(--color-text); border-radius: var(--radius);
  border-bottom: 1px solid var(--color-border);
}
#mobile-nav a:hover { color: var(--color-accent); background: var(--color-bg-section); }

/* === Floating Phone Button (Desktop) === */
.phone-float {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%);
  z-index: 900; display: flex; flex-direction: column; align-items: center;
  background: var(--color-accent); color: white;
  padding: 14px 10px; border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  writing-mode: vertical-rl; text-orientation: mixed;
  gap: 8px; transition: all var(--transition);
}
.phone-float:hover { background: var(--color-primary); transform: translateY(-50%) scale(1.05); }
.phone-float svg { width: 20px; height: 20px; fill: white; flex-shrink: 0; }

/* === Mobile Bottom Phone Bar === */
.mobile-phone-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--color-accent); text-align: center;
}
.mobile-phone-bar a {
  display: block; padding: 16px; color: white; font-size: 1rem; font-weight: 700;
  letter-spacing: 0.03em;
}

/* === Hero Slider === */
.hero {
  position: relative; width: 100%; height: 75vh; min-height: 480px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,40,0.45) 0%, rgba(10,20,40,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 10; text-align: center; color: white;
  padding: 0 24px; max-width: 800px;
}
.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem); opacity: 0.92;
  font-weight: 400; margin-bottom: 40px; letter-spacing: 0.02em;
}
.hero-badges { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-accent); color: white;
  padding: 16px 36px; border-radius: 50px; font-size: 1.05rem; font-weight: 700;
  box-shadow: 0 8px 32px rgba(37,99,235,0.4);
  transition: all var(--transition); letter-spacing: 0.02em;
}
.hero-cta:hover { background: white; color: var(--color-accent); transform: translateY(-2px); }
.hero-badge {
  background: rgba(255,255,255,0.18); backdrop-filter: blur(6px);
  color: white; padding: 10px 20px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.3);
}
.hero-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); transition: all var(--transition);
  cursor: pointer;
}
.hero-dot.active { background: white; width: 24px; border-radius: 4px; }

/* === Portfolio Cards === */
.portfolio-section { background: var(--color-bg-light); }
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.portfolio-card {
  background: white; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition);
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(30,58,95,0.14); }
.portfolio-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.portfolio-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.05); }
.portfolio-card-region {
  position: absolute; top: 12px; left: 12px;
  background: var(--color-accent); color: white;
  font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px;
}
.portfolio-card-body { padding: 20px; }
.portfolio-card-title { font-size: 1rem; font-weight: 700; color: var(--color-primary); margin-bottom: 6px; }
.portfolio-card-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--color-accent); font-size: 0.85rem; font-weight: 600; margin-top: 12px;
}
.portfolio-card-link::after { content: '→'; }

/* === Brand Message === */
.brand-message {
  background: var(--color-bg); text-align: center; padding: 120px 24px;
}
.brand-message-inner { max-width: 860px; margin: 0 auto; }
.brand-msg-line {
  font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 800;
  color: var(--color-primary); line-height: 1.5; margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.brand-msg-line:last-child { margin-bottom: 0; }
.brand-msg-divider { width: 48px; height: 3px; background: var(--color-accent); margin: 40px auto; }

/* === Why Section === */
.why-section { background: var(--color-bg-section); }
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.why-card {
  background: white; border-radius: 12px; padding: 28px 16px; text-align: center;
  box-shadow: var(--shadow); transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--color-bg-section); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.6rem;
}
.why-icon svg { width: 32px; height: 32px; fill: var(--color-accent); }
.why-title { font-size: 1.1rem; font-weight: 800; color: var(--color-primary); margin-bottom: 12px; }
.why-desc { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.7; }

/* === Space Types === */
.space-section { background: var(--color-bg); }
.space-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.space-card-photo {
  position: relative; overflow: hidden; border-radius: 12px;
  aspect-ratio: 4/3; cursor: default;
}
.space-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease; display: block;
}
.space-card-photo:hover img { transform: scale(1.05); }
.space-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,18,36,0.72) 0%, rgba(8,18,36,0.08) 60%);
  display: flex; align-items: flex-end; padding: 18px 16px;
}
.space-card-photo .space-label { color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; }

/* === Before / After === */
.ba-section { background: var(--color-primary); padding: 100px 0; }
.ba-section .section-title { color: white; }
.ba-section .section-subtitle { color: rgba(255,255,255,0.7); }
.ba-section .section-header { margin-bottom: 56px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 16px; overflow: hidden; }
.ba-item { position: relative; }
.ba-item img { width: 100%; height: 420px; object-fit: cover; display: block; }
.ba-label {
  position: absolute; top: 20px; left: 20px;
  background: rgba(0,0,0,0.7); color: white;
  padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em;
}
.ba-label.after { background: var(--color-accent); }

/* === Process === */
.process-section { background: var(--color-bg-light); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%;
  height: 2px; background: var(--color-border); z-index: 0;
}
.process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--color-bg); border: 3px solid var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 0.75rem; font-weight: 800;
  color: var(--color-accent); letter-spacing: 0.05em; line-height: 1.2;
  text-align: center;
}
.step-title { font-size: 1rem; font-weight: 700; color: var(--color-primary); margin-bottom: 8px; }
.step-desc { font-size: 0.85rem; color: var(--color-text-muted); }

/* === FAQ === */
.faq-section { background: var(--color-bg); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 4px; cursor: pointer; gap: 16px;
  font-size: 1rem; font-weight: 600; color: var(--color-text);
  transition: color var(--transition);
}
.faq-q:hover { color: var(--color-accent); }
.faq-q-text { flex: 1; }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--color-bg-section);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all var(--transition); font-size: 1.2rem; color: var(--color-accent);
}
.faq-item.open .faq-icon { background: var(--color-accent); color: white; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 4px;
}
.faq-a-inner { padding-bottom: 24px; color: var(--color-text-muted); line-height: 1.8; font-size: 0.95rem; }
.faq-item.open .faq-a { max-height: 300px; }

/* === CTA === */
.cta-section {
  background: var(--color-cta-bg); padding: 100px 24px; text-align: center;
}
.cta-text {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem); font-weight: 800; color: white;
  margin-bottom: 40px; line-height: 1.5; letter-spacing: -0.02em;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; color: var(--color-primary);
  padding: 20px 48px; border-radius: 50px; font-size: 1.1rem; font-weight: 800;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2); transition: all var(--transition);
  letter-spacing: 0.02em;
}
.cta-btn:hover { background: var(--color-accent); color: white; transform: translateY(-3px); }
.cta-sub { color: rgba(255,255,255,0.6); margin-top: 20px; font-size: 0.9rem; }

/* === Footer === */
#site-footer {
  background: #0f1f36; color: rgba(255,255,255,0.7);
  padding: 60px 0 40px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { color: white; font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; }
.footer-info { font-size: 0.85rem; line-height: 2; }
.footer-info a { color: rgba(255,255,255,0.8); }
.footer-info a:hover { color: white; }
.footer-col-title { color: white; font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.05em; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.85rem; transition: color var(--transition); }
.footer-links a:hover { color: white; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-size: 0.8rem; }

/* === Breadcrumb === */
.breadcrumb {
  padding: 14px 0; font-size: 0.85rem; color: var(--color-text-muted);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--color-text); font-weight: 600; }

/* === Detail Page === */
.detail-hero {
  background-color: var(--color-primary);
  background-size: cover; background-position: center;
  padding: 110px 0 56px;
  position: relative; overflow: hidden;
  min-height: 360px; display: flex; align-items: center;
}
.detail-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to bottom, rgba(8,18,36,0.65), rgba(8,18,36,0.55));
}
.detail-hero .container { position: relative; z-index: 1; }
.detail-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900;
  color: #ffffff; margin: 14px 0 16px; letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.detail-hero .hero-desc {
  color: rgba(255,255,255,0.88); font-size: 1rem; max-width: 580px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4); line-height: 1.7;
}
.breadcrumb-dark .breadcrumb { color: rgba(255,255,255,0.65); }
.breadcrumb-dark .breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb-dark .breadcrumb .current { color: rgba(255,255,255,0.95); font-weight: 600; }

.detail-body { padding: 80px 0; }
.detail-inner { max-width: 860px; margin: 0 auto; }
.detail-intro {
  font-size: 1.1rem; line-height: 1.9; color: var(--color-text);
  margin-bottom: 48px; padding: 32px; background: var(--color-bg-section);
  border-left: 4px solid var(--color-accent); border-radius: 0 8px 8px 0;
}
.detail-section { margin-bottom: 56px; }
.detail-section p {
  font-size: 1rem; line-height: 1.9; color: var(--color-text); margin-bottom: 16px;
}
.detail-section p strong { color: var(--color-primary); font-weight: 700; }
.detail-img { margin: 36px 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.detail-img img { width: 100%; height: auto; object-fit: cover; }
.detail-img figcaption { padding: 10px 16px; background: var(--color-bg-light); font-size: 0.82rem; color: var(--color-text-muted); }

.detail-cta {
  background: var(--color-bg-section); border-radius: 16px; padding: 40px; text-align: center; margin: 64px 0;
}
.detail-cta a {
  display: inline-block;
  font-size: 1.8rem; font-weight: 900; color: var(--color-primary);
  letter-spacing: 0.04em; transition: color var(--transition);
}
.detail-cta a:hover { color: var(--color-accent); }

.related-links { border-top: 2px solid var(--color-border); padding-top: 48px; margin-top: 48px; }
.related-links h3 { font-size: 1.1rem; font-weight: 700; color: var(--color-primary); margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: var(--color-bg-light); border: 1px solid var(--color-border);
  border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; color: var(--color-text);
  transition: all var(--transition);
}
.related-link:hover { border-color: var(--color-accent); color: var(--color-accent); background: var(--color-bg-section); }
.related-link::after { content: '→'; color: var(--color-accent); }

/* === Simple Pages (FAQ, Portfolio, Contact, Sitemap) === */
.simple-page { padding: 140px 0 80px; min-height: 80vh; }
.simple-page h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--color-primary); margin-bottom: 8px; }

/* === Detail Page: Text-First Layout (수원) === */
.text-first-block { margin-bottom: 56px; }
.text-first-block p { margin-bottom: 16px; line-height: 1.8; }
.two-img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.two-img-row figure img { width: 100%; height: 260px; object-fit: cover; border-radius: 8px; }

/* === Detail Page: 2-Column Layout (대구) === */
.two-col-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.two-col-section.img-right .col-img { order: 2; }
.two-col-section.img-right .col-text { order: 1; }
.col-img img { width: 100%; height: 320px; object-fit: cover; border-radius: 12px; }
.col-text h3 { font-size: 1.25rem; font-weight: 700; color: var(--color-primary); margin-bottom: 16px; }
.col-text p { margin-bottom: 14px; color: var(--color-text); line-height: 1.8; }
.full-img-block { margin-bottom: 56px; }
.full-img-block figcaption { text-align: center; margin-top: 12px; color: var(--color-text-muted); font-size: 0.9rem; }

/* === Detail Page: Image Grid Layout (가평) === */
.img-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.img-grid-3 figure img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }
.img-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.img-grid-2 figure img { width: 100%; height: 280px; object-fit: cover; border-radius: 8px; }
.text-block-center { max-width: 760px; margin: 0 auto 48px; }
.text-block-center p { margin-bottom: 16px; line-height: 1.85; }
.full-img figcaption { text-align: center; margin-top: 10px; color: var(--color-text-muted); font-size: 0.9rem; }

/* === Detail Page: Magazine Layout (용인) === */
.intro-centered { max-width: 720px; margin: 48px auto; text-align: center; line-height: 1.9; }
.intro-centered p { margin-bottom: 16px; }
.full-width-img { margin: 32px 0; }
.full-width-img img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 12px; }
.text-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 48px 0; }
.text-two-col h3 { font-size: 1.1rem; font-weight: 700; color: var(--color-primary); margin-bottom: 12px; }
.text-two-col p { line-height: 1.8; }
.img-strip-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0; }
.img-strip-3 figure img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }

/* === 404 === */
.page-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 24px; }
.page-404 h1 { font-size: 6rem; font-weight: 900; color: var(--color-accent); margin-bottom: 16px; }
.page-404 h2 { font-size: 1.6rem; font-weight: 700; color: var(--color-primary); margin-bottom: 16px; }
.page-404 p { color: var(--color-text-muted); margin-bottom: 32px; }
.btn-primary {
  display: inline-block; background: var(--color-accent); color: white;
  padding: 14px 32px; border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  transition: all var(--transition);
}
.btn-primary:hover { background: var(--color-primary); transform: translateY(-2px); }

/* === Responsive === */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .phone-float { display: none; }
  .mobile-phone-bar { display: block; }
  body { padding-bottom: 56px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .space-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-item img { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .brand-msg-line { font-size: 1.5rem; }
  .hero-content h1 { font-size: 3rem; }
  .detail-inner { padding: 0 4px; }
  /* detail page layouts */
  .two-img-row { grid-template-columns: 1fr; }
  .two-col-section { grid-template-columns: 1fr; }
  .two-col-section.img-right .col-img { order: 1; }
  .two-col-section.img-right .col-text { order: 2; }
  .img-grid-3 { grid-template-columns: 1fr 1fr; }
  .img-grid-2 { grid-template-columns: 1fr; }
  .text-two-col { grid-template-columns: 1fr; }
  .img-strip-3 { grid-template-columns: 1fr 1fr; }
  .intro-centered { text-align: left; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .space-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-badges { flex-direction: column; gap: 12px; }
  .img-grid-3 { grid-template-columns: 1fr; }
  .img-strip-3 { grid-template-columns: 1fr; }
}
