:root {
  /*
  Design DNA (이번 생성용 – 고정)
  스타일 프리셋: Friendly Playroom Store
  컬러 전략: Cream Base + Sky Blue Accent + Tangerine Highlights
  레이아웃 패턴: Bento Cards + Curved Section Dividers
  섹션 순서 템플릿: Header → Hero → Categories → Featured Picks → Services → About → Contact/Location → Business Info → Footer
  아이콘 스타일: Rounded Cute Icon (SVG, rounded, playful)
  배경 패턴: Subtle Confetti Dots (SVG, low contrast)
  */
  --cream: #fbf5e6;
  --cream-deep: #f4ecd4;
  --sky: #9ad2f3;
  --sky-deep: #5bb6e6;
  --tangerine: #f7a34b;
  --ink: #2f2a24;
  --muted: #6b635b;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 12px 30px rgba(71, 58, 36, 0.12);
  --shadow-card: 0 10px 24px rgba(71, 58, 36, 0.1);
  --max-width: 1100px;
  --confetti: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23f1e8d2' fill-opacity='0.65'%3E%3Ccircle cx='16' cy='22' r='3'/%3E%3Ccircle cx='80' cy='24' r='2'/%3E%3Ccircle cx='126' cy='28' r='3'/%3E%3Ccircle cx='30' cy='78' r='2'/%3E%3Ccircle cx='66' cy='70' r='3'/%3E%3Ccircle cx='120' cy='78' r='2'/%3E%3Ccircle cx='24' cy='128' r='3'/%3E%3Ccircle cx='88' cy='118' r='2'/%3E%3Ccircle cx='140' cy='130' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream) var(--confetti);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px dashed var(--tangerine);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip-link:focus-visible {
  left: 16px;
  top: 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background: var(--cream-deep);
}

.section-title {
  margin-bottom: 32px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem);
  margin: 0 0 12px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 230, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(71, 58, 36, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.logo {
  width: 44px;
  height: 44px;
}

.primary-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-weight: 600;
}

.primary-nav a {
  padding: 8px 12px;
  border-radius: 999px;
}

.primary-nav a:hover {
  background: var(--cream-deep);
}

.menu-toggle {
  display: none;
  border: none;
  background: var(--sky);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  background: var(--cream);
}

.hero-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem);
  margin: 12px 0 16px;
}

.eyebrow {
  display: inline-block;
  background: var(--sky);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--tangerine);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.btn.ghost {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--sky);
}

.btn.small {
  padding: 8px 14px;
  font-size: 0.9rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-notes {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.hero-notes li {
  margin-bottom: 8px;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.curve-top,
.curve-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  background-repeat: no-repeat;
  background-size: cover;
}

.curve-top {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath d='M0 120V40c240-40 480-40 720 0s480 40 720 0v80H0z' fill='%23fbf5e6'/%3E%3C/svg%3E");
}

.curve-bottom {
  bottom: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath d='M0 0v80c240 40 480 40 720 0s480-40 720 0V0H0z' fill='%23fbf5e6'/%3E%3C/svg%3E");
}

.bento-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bento-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  min-height: 200px;
}

.bento-card:nth-child(1) {
  grid-column: span 2;
}

.bento-card:nth-child(4) {
  grid-row: span 2;
}

.card-badge {
  display: inline-block;
  background: var(--sky);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 12px;
}

.featured-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  border: none;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.chip.active {
  background: var(--sky);
}

.search-box input {
  border: 2px solid var(--cream-deep);
  border-radius: 999px;
  padding: 10px 16px;
  min-width: 220px;
}

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.is-hidden {
  display: none;
}

.thumb {
  background: var(--cream-deep);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thumb svg {
  width: 60px;
  height: 60px;
}

.type {
  font-weight: 700;
  color: var(--sky-deep);
  margin: 0;
}

.desc {
  color: var(--muted);
  margin: 0;
}

.label {
  align-self: flex-start;
  background: var(--cream-deep);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.service-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}

.about-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.about-list {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.about-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.about-tags span {
  background: var(--sky);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.contact-placeholders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.contact-placeholders div {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-card);
}

.placeholder {
  color: var(--muted);
  margin: 8px 0 0;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  border: 2px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  padding: 10px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.business-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.business-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.business-card div {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.business-card dt {
  min-width: 90px;
  font-weight: 700;
}

.site-footer {
  background: var(--cream-deep);
  padding: 30px 0 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
}

.back-to-top {
  background: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 960px) {
  .bento-card:nth-child(1),
  .bento-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .primary-nav {
    position: absolute;
    right: 20px;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .primary-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
