/* ============================================
   D'Meraken Crochet — Hoja de estilos
   ============================================ */

:root {
  --cream: #fbf5ea;
  --cream-soft: #f5ecdb;
  --navy: #202a44;
  --navy-soft: #4a5578;
  --blue-light: #bcd6ee;
  --blue-pale: #e7f0f9;
  --blue-mid: #7aa8d3;
  --pink: #f2b8c6;
  --yellow: #f2c14e;
  --green: #93ac74;

  --font-heading: 'Poppins', sans-serif;
  --font-script: 'Caveat', cursive;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 18px 40px -20px rgba(32, 42, 68, 0.25);
  --shadow-card: 0 12px 30px -16px rgba(32, 42, 68, 0.2);

  --container-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-heading);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Utilities ---------- */
.accent { color: var(--blue-mid); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy-soft);
  margin-bottom: 10px;
}
.eyebrow.center { text-align: center; }
.eyebrow::before { content: '✦ '; }

.hero-caption {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--navy-soft);
}

/* .nowrap amarra la línea a la última palabra para que nunca quede sola en otro renglón */
.nowrap { white-space: nowrap; }
.scribble {
  width: 30px; height: 12px;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 16'%3E%3Cpath d='M2 8c4-8 8 8 12 0s8-8 12 0 8 8 12 0' fill='none' stroke='%23202a44' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: #2b3757; box-shadow: 0 20px 34px -16px rgba(32,42,68,.45); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--cream); }

.btn-light {
  background: var(--cream);
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}
.btn-light:hover { background: #fff; }

.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}
.btn-white:hover { background: var(--blue-pale); }

.btn-small { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 245, 234, 0.85);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 24px -12px rgba(32,42,68,.25);
  background: rgba(251, 245, 234, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: #fff;
  object-fit: cover;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-text em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-soft);
}

.main-nav ul { display: flex; gap: clamp(14px, 2vw, 28px); }
.nav-link {
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue-mid);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin: 0 auto;
}
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 40px;
}

.hero-blob {
  position: absolute;
  top: -180px; right: -220px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--blue-pale), var(--blue-light) 70%);
  opacity: 0.7;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero-text {
  font-size: 1.08rem;
  color: var(--navy-soft);
  max-width: 44ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 30px;
}

.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.95;
  max-width: 480px;
  margin: 0 auto;
}

.hero-photo-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 46% 54% 58% 42% / 50% 46% 54% 50%;
  box-shadow: var(--shadow-soft);
  animation: float 6s ease-in-out infinite;
  border: 6px solid var(--cream);
}

.hero-photo-accent {
  position: absolute;
  bottom: -6%;
  right: -8%;
  width: 42%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-card);
  animation: float 5s ease-in-out infinite;
  animation-delay: .3s;
}

.hero-doodle {
  position: absolute;
  font-size: 1.6rem;
  color: var(--blue-mid);
}
.hero-doodle-1 { top: 2%; right: 8%; }
.hero-doodle-2 { bottom: 30%; left: -4%; font-size: 1.2rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 26s linear infinite;
}
.ticker-track span {
  padding-right: 20px;
  font-family: var(--font-script);
  font-size: 1.25rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .hero-photo-main, .hero-photo-accent { animation: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: 96px 0; }
.section-alt { background: var(--cream-soft); }

.section-heading { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-heading h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }

/* ---------- Decorative floaters ---------- */
.section-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.decor { position: absolute; }
.decor-sparkle {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--blue-mid);
}
.decor-sparkle.pink { color: var(--pink); }
.decor-sparkle.yellow { color: var(--yellow); }
.decor-sparkle.blue { color: var(--blue-mid); }
.decor-heart {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--pink);
}
.decor-dot { width: 11px; height: 11px; border-radius: 50%; }
.decor-dot.yellow { background: var(--yellow); }
.decor-dot.blue { background: var(--blue-mid); }
.decor-dot.green { background: var(--green); }
.decor-dot.pink { background: var(--pink); }

.decor.float-a { animation: decorFloatA 4.5s ease-in-out infinite; }
.decor.float-b { animation: decorFloatB 5.5s ease-in-out infinite; }
.decor.pulse { animation: decorPulse 2.8s ease-in-out infinite; }
.decor.spin { animation: decorSpin 10s linear infinite; }

@keyframes decorFloatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(8deg); }
}
@keyframes decorFloatB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-8deg); }
}
@keyframes decorPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
}
@keyframes decorSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  .section-decor { display: none; }
}
.section-sub { color: var(--navy-soft); font-size: 1.02rem; }

/* ---------- Creations grid ---------- */
.creations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.creation-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.creation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px -18px rgba(32,42,68,.32);
}
.creation-media {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.creation-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.creation-card:hover .creation-media img { transform: scale(1.06); }

.creation-body { padding: 20px 22px 26px; }
.creation-body h3 { font-size: 1.1rem; margin: 10px 0 8px; }
.creation-body p { font-size: 0.92rem; color: var(--navy-soft); margin: 0; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}
.tag-blue { background: var(--blue-pale); color: #2b5a8a; }

.tag-btn {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.tag-btn span { display: inline-block; margin-left: 4px; transition: transform 0.25s ease; }
.tag-btn:hover, .creation-card:hover .tag-btn { background: var(--blue-mid); color: #fff; }
.tag-btn:hover span, .creation-card:hover .tag-btn span { transform: translateX(3px); }
.tag-btn:focus-visible, .creation-media:focus-visible, .catalog-item:focus-visible,
.catalog-close:focus-visible, .viewer-btn:focus-visible {
  outline: 3px solid var(--blue-mid);
  outline-offset: 3px;
}

/* ---------- Catálogo ---------- */
body.has-modal { overflow: hidden; }
.catalog[hidden], .viewer[hidden] { display: none; }
.catalog {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.catalog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 42, 68, 0.62);
  backdrop-filter: blur(3px);
  animation: catalogFade 0.25s ease;
}
.catalog-dialog {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 30px 32px 32px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
  animation: catalogPop 0.35s cubic-bezier(.2, .9, .3, 1.2);
  outline: none;
}
@keyframes catalogFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes catalogPop {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.catalog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.catalog-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.catalog-close {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}
.catalog-close:hover { background: var(--navy); color: var(--cream); transform: rotate(90deg); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.catalog-item {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid rgba(32, 42, 68, 0.08);
  background: var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.catalog-item:hover { transform: translateY(-4px) rotate(-0.6deg); box-shadow: 0 18px 30px -16px rgba(32, 42, 68, 0.35); }
.catalog-thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.catalog-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.catalog-item:hover .catalog-thumb img { transform: scale(1.06); }
.catalog-name {
  display: block;
  padding: 12px 14px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--navy);
}

.catalog-cta {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 2px dashed var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.catalog-cta p { margin: 0; font-weight: 600; }
.catalog-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.viewer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(20, 26, 44, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: catalogFade 0.2s ease;
}
.viewer-stage {
  width: min(86vw, 760px);
  height: min(78vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.viewer-stage img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  animation: catalogPop 0.3s ease;
}
.viewer-btn {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.viewer-btn:hover { background: rgba(255, 255, 255, 0.32); }
.viewer-close { top: 18px; right: 18px; }
.viewer-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.viewer-next { right: 18px; top: 50%; transform: translateY(-50%); }
.viewer-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  .catalog-backdrop, .catalog-dialog, .viewer, .viewer-stage img { animation: none; }
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.about-clock {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-clock img {
  width: 76%;
  height: auto;
  filter: drop-shadow(0 16px 22px rgba(32, 42, 68, 0.22));
  animation: clockSway 6s ease-in-out infinite;
}
@keyframes clockSway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .about-clock img { animation: none; }
}
.about-copy p { color: var(--navy-soft); }
.about-copy .hero-caption { margin-top: 24px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}
.step {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.step:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 20px 34px -16px rgba(32,42,68,.3); }
.step-deco {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.3rem;
  transform: rotate(12deg);
  animation: decorFloatA 4s ease-in-out infinite;
  opacity: 0.9;
}
.step:nth-child(2) .step-deco { animation-delay: .4s; }
.step:nth-child(3) .step-deco { animation-delay: .8s; }
.step:nth-child(4) .step-deco { animation-delay: 1.2s; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}
.step:hover .step-num { transform: scale(1.12) rotate(-6deg); }
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--navy-soft); margin: 0; }

.note-card {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.note-card p { margin: 0; max-width: 52ch; color: var(--blue-pale); }
.note-actions { display: flex; flex-direction: column; gap: 10px; }
.note-actions .btn { justify-content: center; }
.note-card strong { color: #fff; }

/* ---------- Reviews ---------- */
.featured-review {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 28px;
}
.featured-review img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.featured-review-copy { padding: 20px 32px 20px 0; }
.featured-review-copy p { margin: 14px 0 0; color: var(--navy-soft); font-size: 1.02rem; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  margin: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:nth-child(odd):hover { transform: translateY(-6px) rotate(-1deg); }
.review-card:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }
.review-card:hover { box-shadow: 0 20px 34px -16px rgba(32,42,68,.3); }
.quote-mark { margin-bottom: 14px; transition: transform 0.3s ease; }
.review-card:hover .quote-mark { transform: scale(1.15) rotate(-6deg); }
.review-card blockquote {
  margin: 0 0 22px;
  font-size: 1.02rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.55;
}
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.review-card figcaption strong { display: block; font-size: 0.92rem; }
.review-card figcaption small { color: var(--navy-soft); font-size: 0.78rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), #2c3a63);
  color: var(--cream);
  text-align: center;
  padding: 80px 0;
}
.cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-inner p { color: var(--blue-pale); max-width: 46ch; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--navy);
  color: var(--blue-pale);
  padding-top: 70px;
}
.footer-wave {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 70px;
  background: var(--cream);
  clip-path: path('M0,40 C 200,100 400,0 600,40 C 800,80 1000,10 1200,50 L1200,0 L0,0 Z');
}
@supports not (clip-path: path('M0,0')) {
  .footer-wave { display: none; }
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { color: var(--blue-pale); font-size: 0.92rem; }
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.92rem;
  color: var(--blue-pale);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col a:hover { color: #fff; }
.footer-text { font-size: 0.92rem; color: var(--blue-pale); margin-bottom: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(231,240,249,0.75);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-link { font-size: 0.88rem; }
  .header-actions .btn-small span { display: none; }
  .header-actions .btn-small { padding: 12px; }
}

@media (max-width: 980px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .creations-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .featured-review { grid-template-columns: 1fr; }
  .featured-review img { max-height: 320px; }
  .featured-review-copy { padding: 4px 28px 28px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 74px; left: 0; right: 0;
    background: var(--cream);
    box-shadow: 0 16px 30px -18px rgba(32,42,68,.3);
    padding: 20px 24px 30px;
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 18px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  .creations-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-col a { justify-content: center; }
  .note-card { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .catalog { padding: 10px; }
  .catalog-dialog { padding: 22px 18px 24px; max-height: calc(100vh - 20px); }
  .catalog-grid { gap: 10px; }
  .catalog-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .catalog-cta-actions { justify-content: center; }
  .viewer-prev { left: 8px; }
  .viewer-next { right: 8px; }
}

@media (max-width: 380px) {
  .logo-text strong { font-size: 0.92rem; white-space: nowrap; }
}
