/* cozypoopo - brand site styles */

:root {
  --cream: #fdf9f4;
  --cream-2: #f7efe6;
  --peach: #f2a68c;
  --peach-dark: #df7f61;
  --peach-soft: #fbede5;
  --mint: #bfe0cd;
  --lavender: #d8cbea;
  --butter: #f6e2a8;
  --ink: #3b2f27;
  --ink-soft: #6f5d51;
  --ink-faint: #9a8b80;
  --white: #ffffff;
  --border: rgba(59, 47, 39, 0.1);
  --shadow: 0 20px 50px rgba(59, 47, 39, 0.08);
  --shadow-sm: 0 8px 24px rgba(59, 47, 39, 0.06);
  --radius: 20px;
  --radius-lg: 32px;
  --font-display: "Quicksand", "Trebuchet MS", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--peach); color: var(--ink); box-shadow: 0 8px 20px rgba(242, 166, 140, 0.35); }
.btn-primary:hover { background: var(--peach-dark); box-shadow: 0 12px 26px rgba(223, 127, 97, 0.4); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* Eyebrow & headings */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--peach-dark);
  margin-bottom: 16px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 249, 244, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 12px;
  background: var(--peach); color: var(--ink);
  display: grid; place-items: center;
  font-size: 0.95rem; font-weight: 700;
  transform: rotate(-8deg);
}
.nav { display: none; align-items: center; gap: 32px; }
.nav a { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); transition: color 0.2s; }
.nav a:hover { color: var(--peach-dark); }
.header-cta { display: none; }
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-open .nav {
  display: flex; position: absolute; top: 76px; left: 0; right: 0;
  flex-direction: column; align-items: stretch; gap: 0;
  background: var(--cream); padding: 12px 24px 24px;
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.nav-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.5; pointer-events: none; }
.hero-blob-1 { width: 320px; height: 320px; background: var(--peach-soft); top: -120px; right: -80px; }
.hero-blob-2 { width: 220px; height: 220px; background: var(--mint); bottom: -100px; left: -80px; opacity: 0.35; }
.hero-inner { position: relative; display: grid; gap: 48px; align-items: center; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy h1 em { font-style: normal; color: var(--peach-dark); }
.hero-sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-note { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--ink-faint); }
.stars { color: var(--peach); letter-spacing: 2px; font-size: 1rem; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.hero-badge {
  position: absolute; bottom: -18px; left: -10px;
  background: var(--white); border-radius: 18px;
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; line-height: 1.3;
  box-shadow: var(--shadow-sm); transform: rotate(-4deg);
}
.badge-icon {
  width: 38px; height: 38px; border-radius: 50%; background: var(--peach-soft);
  display: grid; place-items: center; color: var(--peach-dark); font-size: 1.1rem;
}

/* Trust bar */
.trust { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.trust-icon svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 0.92rem; }
.trust-item span { font-size: 0.8rem; color: var(--ink-faint); }

/* Section base */
.section { padding: 84px 0; }
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--ink-soft); margin-top: 14px; }

/* Collection */
.collection { background: var(--cream); }
.product-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img { overflow: hidden; background: var(--cream-2); }
.product-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-body { padding: 24px; }
.product-tag {
  display: inline-block; font-family: var(--font-display); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--peach-dark); background: var(--peach-soft);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.product-body h3 { margin-bottom: 8px; font-size: 1.25rem; }
.product-body p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 16px; }
.product-link { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--peach-dark); }
.product-link:hover { text-decoration: underline; }

/* Story */
.story { background: var(--cream-2); }
.story-inner { display: grid; gap: 48px; align-items: center; }
.story-visual { position: relative; }
.story-visual img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.story-sticker {
  position: absolute; top: -20px; right: -10px;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--mint); color: var(--ink);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.15;
  transform: rotate(12deg); box-shadow: var(--shadow-sm);
}
.story-copy h2 { margin-bottom: 18px; }
.story-copy p { color: var(--ink-soft); margin-bottom: 14px; }
.story-copy .btn { margin-top: 16px; }

/* Why us */
.why { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.why-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform 0.2s;
}
.why-card:hover { transform: translateY(-4px); }
.why-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.why-icon svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: 0.9rem; color: var(--ink-soft); }
.bg-peach { background: var(--peach-soft); }
.bg-mint { background: var(--mint); }
.bg-lavender { background: var(--lavender); }
.bg-butter { background: var(--butter); }

/* Contact */
.contact { background: var(--peach-soft); }
.contact-inner { display: grid; gap: 44px; align-items: start; }
.contact-copy h2 { margin-bottom: 18px; }
.contact-copy > p { color: var(--ink-soft); margin-bottom: 26px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-methods a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  width: fit-content;
}
.contact-methods a:hover { color: var(--peach-dark); }
.method-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.method-icon svg { width: 17px; height: 17px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: var(--cream); font-family: var(--font-body); font-size: 0.95rem;
  color: var(--ink); transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--peach); background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { width: 100%; margin-top: 6px; }
.form-status { font-size: 0.85rem; margin-top: 14px; min-height: 20px; color: var(--ink-soft); text-align: center; }
.form-status.success { color: #3f8a5f; font-weight: 600; }

/* Footer */
.footer { background: var(--ink); color: var(--cream); padding: 64px 0 28px; }
.footer-inner { display: grid; gap: 40px; padding-bottom: 40px; }
.footer .logo { color: var(--cream); }
.footer .logo-mark { background: var(--peach); }
.footer-brand p { color: rgba(253, 249, 244, 0.65); font-size: 0.9rem; max-width: 300px; margin-top: 16px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer-links h4 { font-family: var(--font-display); font-size: 0.9rem; margin-bottom: 16px; color: var(--white); }
.footer-links a { display: block; font-size: 0.88rem; color: rgba(253, 249, 244, 0.65); margin-bottom: 10px; }
.footer-links a:hover { color: var(--peach); }
.footer-bottom { border-top: 1px solid rgba(253,249,244,0.12); padding-top: 24px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(253, 249, 244, 0.5); text-align: center; }

/* Legal pages */
.legal { padding: 60px 0 100px; }
.legal-doc { background: var(--white); border-radius: var(--radius-lg); padding: 40px 28px; box-shadow: var(--shadow-sm); }
.legal-doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal-updated { color: var(--ink-faint); font-size: 0.85rem; margin-bottom: 32px; }
.legal-doc h2 { font-size: 1.3rem; margin: 28px 0 10px; }
.legal-doc p, .legal-doc li { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 12px; }
.legal-doc ul { padding-left: 20px; }
.legal-doc a { color: var(--peach-dark); text-decoration: underline; }
.legal-back { display: inline-block; margin-bottom: 24px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--peach-dark); }
.legal-back:hover { text-decoration: underline; }

/* Media queries - mobile first */
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.2fr 1fr; }
  .legal-doc { padding: 50px 56px; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero { padding: 100px 0 120px; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hero-badge { left: -30px; bottom: -24px; }
  .section { padding: 110px 0; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .story-inner { grid-template-columns: 1fr 1fr; gap: 80px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .contact-inner { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .contact-methods { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
