/* RODEA — design tokens & shared styles */

:root {
  --cream-50: #fdfbf6;
  --cream-100: #faf5ea;
  --cream-200: #f3ead6;

  --ink-900: #3a322a;
  --ink-700: #574c3f;
  --ink-500: #7a6c5a;

  --terracotta-50: #fbf1ea;
  --terracotta-100: #f5ddc9;
  --terracotta-300: #dea073;
  --terracotta-500: #c1774b;
  --terracotta-600: #ac6640;
  --terracotta-700: #8c5233;

  --sage-50: #f1f4ec;
  --sage-100: #e1e8d7;
  --sage-300: #a9b89b;
  --sage-500: #5f6f58;
  --sage-600: #4d5c47;
  --sage-700: #3c4838;

  --blush-100: #fbeae7;
  --blush-300: #f0c4be;
  --blush-500: #e2a199;

  --mustard-100: #fbedd0;
  --mustard-300: #efc873;
  --mustard-500: #e0a836;

  --sky-100: #e7edf3;
  --sky-300: #b9cbdc;
  --sky-500: #8ba6c2;

  --font-heading: "Fredoka", sans-serif;
  --font-body: "Nunito", sans-serif;

  --radius-lg: 1.5rem;
  --radius-xl: 2.5rem;
  --shadow-sm: 0 1px 3px rgba(58, 50, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(58, 50, 42, 0.12);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: var(--font-body);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
}

p { margin: 0; }

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

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

button, input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-sm { max-width: 48rem; }
.container-md { max-width: 56rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--terracotta-500);
  color: var(--cream-50);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--terracotta-600); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--sage-500);
  color: var(--sage-600);
}
.btn-outline:hover { background: var(--sage-500); color: var(--cream-50); }

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 246, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--terracotta-100);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand img.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.brand span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--terracotta-600);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop .nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-desktop a.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--ink-700);
}
.nav-desktop a.nav-link:hover,
.nav-desktop a.nav-link.active { color: var(--terracotta-600); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-900);
  margin: 0 auto;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1rem;
  border-top: 1px solid var(--terracotta-100);
  background: var(--cream-50);
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-heading);
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  color: var(--ink-700);
}
.nav-mobile a:hover { background: var(--terracotta-50); color: var(--terracotta-600); }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ---------- footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--sage-600);
  color: var(--cream-50);
  border-top: 1px solid var(--sage-100);
}

.site-footer .container { padding-top: 3.5rem; padding-bottom: 2rem; }

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

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

.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img.brand-mark { width: 32px; height: 32px; object-fit: contain; }
.footer-brand span { font-family: var(--font-heading); font-size: 1.25rem; }

.footer-grid p.about {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.9rem;
  color: rgba(253, 251, 246, 0.9);
  line-height: 1.6;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mustard-300);
}
.footer-col ul { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; color: rgba(253, 251, 246, 0.9); }
.footer-col a:hover { color: var(--mustard-300); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(253, 251, 246, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(253, 251, 246, 0.7);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

/* ---------- decorative ---------- */

.decor-star {
  position: absolute;
  color: var(--mustard-300);
  opacity: 0.5;
}

.decor-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  z-index: 0;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream-100);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero .container { grid-template-columns: 1fr 1fr; padding-top: 6rem; padding-bottom: 6rem; }
}

.eyebrow {
  display: inline-block;
  background: var(--terracotta-100);
  color: var(--terracotta-600);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-top: 1.2rem;
  color: var(--ink-900);
}
.hero h1 .accent { color: var(--terracotta-500); }

@media (min-width: 640px) { .hero h1 { font-size: 2.9rem; } }

.hero p.lead {
  margin-top: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 32rem;
}

.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-visual {
  position: relative;
  margin: 0 auto;
  width: 20rem;
  height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .card-bg {
  position: absolute;
  inset: 0;
  background: #f7f7f7;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.hero-visual img { position: relative; width: 15rem; height: 15rem; object-fit: contain; padding: 2rem; }
.hero-visual .dot {
  position: absolute;
  border-radius: 999px;
}

/* ---------- sections ---------- */

.section { padding: 4.5rem 0; }
.section-alt { background: var(--sage-50); }

.section-head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.section-head .eyebrow-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta-600);
}
.section-head h2 { font-size: 1.9rem; margin-top: 0.5rem; color: var(--ink-900); }
.section-head p { margin-top: 0.75rem; color: var(--ink-700); }

/* value cards */

.value-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
  background: #fff;
  border: 1px solid var(--terracotta-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}
.value-card:hover { transform: translateY(-4px); }
.value-card .icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--terracotta-50);
  color: var(--terracotta-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.value-card h3 { font-size: 1.1rem; color: var(--ink-900); }
.value-card p { margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-700); line-height: 1.5; }

/* product grid & card */

.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--terracotta-100);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.product-card .image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--terracotta-50), var(--cream-100), var(--sage-50));
}
.product-card .image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--terracotta-300);
}
.image-placeholder .star { font-size: 1.6rem; }
.image-placeholder span { font-family: var(--font-heading); font-size: 0.75rem; color: var(--ink-500); }

.category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(253, 251, 246, 0.95);
  color: var(--terracotta-600);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.product-card .body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.product-card h3 { font-size: 1.05rem; color: var(--ink-900); }
.product-card .ref { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-500); }
.product-card .dims { margin-top: 0.4rem; font-size: 0.9rem; color: var(--ink-700); }
.product-card .see-more { margin-top: 0.75rem; font-family: var(--font-heading); font-size: 0.85rem; color: var(--terracotta-600); }

/* filter chips */

.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-chip {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-700);
  border: 1px solid var(--terracotta-100);
  cursor: pointer;
}
.filter-chip:hover { background: var(--terracotta-50); }
.filter-chip.active { background: var(--terracotta-500); color: var(--cream-50); border-color: var(--terracotta-500); }

/* faq accordion */

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--terracotta-100);
  border-radius: 1rem;
  overflow: hidden;
}
.faq-item button.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--ink-900);
}
.faq-item .chevron { transition: transform 0.2s ease; color: var(--terracotta-500); flex-shrink: 0; }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-item .faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-700);
  line-height: 1.6;
}
.faq-item.open .faq-answer { display: block; }

/* pillars (montessori page) */

.pillar-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 3rem; }
@media (min-width: 640px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pillar-grid { grid-template-columns: repeat(4, 1fr); } }
.pillar-card { background: var(--sage-50); border: 1px solid var(--sage-100); border-radius: 1.5rem; padding: 1.5rem; }
.pillar-card h3 { font-size: 1.05rem; color: var(--sage-700); }
.pillar-card p { margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-700); line-height: 1.5; }

/* designer bio photo */

.designer-photo {
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--terracotta-100);
  background: linear-gradient(135deg, var(--terracotta-50), var(--cream-100), var(--sage-50));
  display: flex;
  align-items: center;
  justify-content: center;
}
.designer-photo img { width: 100%; height: 100%; object-fit: cover; }
.designer-photo.no-photo::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--terracotta-300);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 51 48"><path d="M25.5 0 L31 17.5 L49 17.5 L34.5 28 L40 46 L25.5 35 L11 46 L16.5 28 L2 17.5 L20 17.5 Z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 51 48"><path d="M25.5 0 L31 17.5 L49 17.5 L34.5 28 L40 46 L25.5 35 L11 46 L16.5 28 L2 17.5 L20 17.5 Z"/></svg>') center / contain no-repeat;
}

/* empty state */

.empty-state {
  border: 1px dashed var(--sage-300);
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  color: var(--ink-700);
}

/* forms */

.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--ink-900);
  margin-bottom: 0.4rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field input[type="number"],
.field input[type="url"],
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--terracotta-100);
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--ink-900);
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--terracotta-300); }
.field-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .field-row.cols-4 { grid-template-columns: 2fr 1fr 1fr; } }

.form-message {
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.form-message.error { background: var(--blush-100); color: var(--terracotta-700); }
.form-message.success { background: var(--sage-50); color: var(--sage-700); border: 1px solid var(--sage-300); text-align: center; padding: 2rem; }

/* utility */

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none !important; }
