/* ============================================================
   CREA CON ARTE — Design tokens
   ============================================================ */
:root {
  --white: #ffffff;
  --pink-bg: #fff0f6;
  --pink-soft: #ffe1ee;
  --fuchsia: #e2007a;
  --fuchsia-dark: #a3005c;
  --wine: #5c1036;
  --text: #2b1620;
  --text-soft: #7a6470;
  --border: #f4cfe1;

  --font-display: "Fraunces", serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 30px -12px rgba(163, 0, 92, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--wine); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fuchsia-dark);
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--fuchsia);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(163,0,92,0.38); }
.btn-outline {
  background: transparent;
  color: var(--wine);
  border: 2px solid var(--fuchsia);
}
.btn-outline:hover { background: var(--pink-soft); }

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  gap: 20px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--wine);
}
.logo span { color: var(--fuchsia); font-style: italic; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-weight: 600; font-size: 0.92rem; color: var(--text); }
.main-nav a:hover { color: var(--fuchsia); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.search-box input {
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  width: 230px;
  background: var(--pink-bg);
}
.search-box input:focus { outline: 2px solid var(--fuchsia); outline-offset: 1px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span { height: 2px; background: var(--wine); border-radius: 2px; }

/* ================= HERO ================= */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--pink-bg) 0%, var(--white) 100%);
  padding: 100px 24px 130px;
  text-align: center;
  overflow: hidden;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 600;
  margin: 14px 0 22px;
}
.hero-title em { font-style: italic; color: var(--fuchsia); }
.hero-text { font-size: 1.05rem; color: var(--text-soft); max-width: 520px; margin: 0 auto 34px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-tag {
  position: absolute; bottom: -30px; right: 8%;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 26px;
  box-shadow: var(--shadow);
  transform: rotate(-6deg);
  border: 1.5px dashed var(--fuchsia);
  display: none;
}
.tag-price { font-family: var(--font-display); font-style: italic; color: var(--wine); font-size: 1rem; }

/* ================= SECTION HEAD ================= */
.section-head { text-align: center; max-width: 560px; margin: 0 auto 44px; padding: 0 24px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; }

.catalogs, .products-section, .process { padding: 90px 24px; max-width: 1200px; margin: 0 auto; }
.products-section { background: var(--pink-bg); border-radius: var(--radius-lg); }

/* ================= CATALOG CARDS ================= */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.catalog-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.catalog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.catalog-cover {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--pink-soft), var(--pink-bg));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; color: var(--fuchsia-dark);
  font-size: 1.1rem; text-align: center; padding: 10px;
}
.catalog-cover img { width: 100%; height: 100%; object-fit: cover; }
.catalog-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.catalog-body h3 { font-size: 1.1rem; }
.catalog-body p { color: var(--text-soft); font-size: 0.88rem; line-height: 1.5; flex: 1; }
.catalog-count { font-size: 0.76rem; color: var(--fuchsia-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.catalog-cta { font-weight: 700; color: var(--fuchsia); font-size: 0.88rem; margin-top: 4px; }

/* ================= FILTER BAR ================= */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 34px;
}
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  padding: 9px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  background: var(--white); border: 1.5px solid var(--border); color: var(--text-soft);
}
.pill.active, .pill:hover { background: var(--fuchsia); color: var(--white); border-color: var(--fuchsia); }
.catalog-select {
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--white); font-family: var(--font-body); font-size: 0.85rem; color: var(--text);
}

/* ================= PRODUCT GRID ================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-photo { aspect-ratio: 1/1; background: var(--pink-bg); overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-tag {
  position: absolute; top: 12px; right: 12px;
  background: var(--white); border: 1.5px dashed var(--fuchsia);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-family: var(--font-display); font-style: italic; font-size: 0.85rem; color: var(--wine);
  box-shadow: 0 6px 14px -6px rgba(0,0,0,0.15);
}
.product-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.product-body h3 { font-size: 1rem; }
.product-meta { font-size: 0.78rem; color: var(--text-soft); }
.product-actions { display: flex; gap: 8px; margin-top: 10px; }
.product-actions .btn { padding: 9px 16px; font-size: 0.8rem; }
.btn-ghost { background: var(--pink-bg); color: var(--wine); }
.btn-ghost:hover { background: var(--pink-soft); }

.empty-state {
  text-align: center; color: var(--text-soft); padding: 60px 20px;
  font-size: 0.95rem; max-width: 480px; margin: 0 auto; line-height: 1.6;
}

/* ================= PROCESS ================= */
.process-list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
.process-list li { display: flex; gap: 14px; align-items: flex-start; }
.step-n {
  font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--fuchsia);
  flex-shrink: 0;
}
.process-list h3 { font-size: 1rem; margin-bottom: 4px; }
.process-list p { color: var(--text-soft); font-size: 0.88rem; line-height: 1.5; }

/* ================= MODAL ================= */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(43,22,32,0.55); }
.modal-panel {
  position: relative; z-index: 2;
  max-width: 760px; margin: 5vh auto; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  background: var(--white); border-radius: 50%; width: 34px; height: 34px;
  box-shadow: var(--shadow); font-size: 0.9rem;
}
.modal-image-wrap { position: relative; background: var(--pink-bg); }
.modal-image-wrap img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--white); border-radius: 50%; width: 34px; height: 34px; box-shadow: var(--shadow);
  font-size: 1.2rem; color: var(--fuchsia-dark);
}
.modal-nav.prev { left: 12px; } .modal-nav.next { right: 12px; }
.modal-info { padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.modal-catalog { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fuchsia-dark); font-weight: 700; }
.modal-price { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--wine); }
.modal-variants { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.modal-variants span { background: var(--pink-bg); border-radius: 999px; padding: 4px 12px; font-size: 0.78rem; color: var(--wine); }
.modal-description { color: var(--text-soft); font-size: 0.9rem; line-height: 1.6; }

/* ================= FOOTER ================= */
.site-footer { background: var(--wine); color: var(--white); padding: 56px 24px; text-align: center; }
.footer-inner { max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo { color: var(--white); }
.footer-logo span { color: #ffb3da; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: #ffd6ec; }
.footer-links { display: flex; gap: 20px; font-size: 0.88rem; font-weight: 600; }
.footer-links a:hover { color: #ffb3da; }
.footer-note { font-size: 0.76rem; color: #e2b8d1; margin-top: 8px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 860px) {
  .modal-panel { grid-template-columns: 1fr; }
  .modal-image-wrap img { min-height: 200px; }
}
@media (max-width: 720px) {
  .main-nav, .search-box { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 70px 20px 90px; }
  .catalogs, .products-section, .process { padding: 60px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--fuchsia-dark); outline-offset: 2px;
}
