/* ================================================
   BONITOS Y GORDITOS — Reusable Components
   Claymorphism Baby Theme · v1.0
   ================================================ */

/* ========================
   NAVIGATION
   ======================== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(255, 248, 245, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--pink-light);
  transition: box-shadow var(--t-ease);
}

.main-nav.scrolled {
  box-shadow: 0 4px 24px rgba(255, 145, 173, 0.18);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-logo .logo-accent { color: var(--pink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--t-ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pink);
  border-radius: var(--r-full);
  transform: scaleX(0);
  transition: transform var(--t-bounce);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--pink);
  color: white !important;
  border-radius: var(--r-full);
  font-weight: 800 !important;
  box-shadow: 0 3px 0 var(--pink-dark), 0 6px 16px var(--clay-pink);
  transition: transform var(--t-bounce), box-shadow var(--t-bounce) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 0 var(--pink-dark), 0 10px 24px var(--clay-pink) !important;
  color: white !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background var(--t-ease);
}

.nav-toggle:hover { background: var(--pink-pale); }

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: var(--r-full);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .main-nav {
    padding: 0.875rem 1.25rem;
    flex-wrap: wrap;
    gap: 0;
  }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid var(--pink-light);
    margin-top: 0.75rem;
  }

  .nav-links a {
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--pink-light);
    font-size: 0.95rem;
  }

  .nav-links a::after { display: none; }

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

  .nav-cta {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
    border-bottom: none !important;
  }
}

/* ========================
   CLAY CARD
   ======================== */
.clay-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow:
    0 5px 0 0 var(--pink-light),
    0 10px 40px var(--clay-pink),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform var(--t-bounce), box-shadow var(--t-bounce);
  position: relative;
  overflow: hidden;
}

.clay-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink-light), var(--lavender-light), var(--mint-light));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.clay-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 10px 0 0 var(--pink-light),
    0 20px 60px var(--clay-pink),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Card variants */
.clay-card--lavender {
  box-shadow:
    0 5px 0 0 var(--lavender-light),
    0 10px 40px var(--clay-lavender),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.clay-card--lavender:hover {
  box-shadow:
    0 10px 0 0 var(--lavender-light),
    0 20px 60px var(--clay-lavender),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.clay-card--mint {
  box-shadow:
    0 5px 0 0 var(--mint-light),
    0 10px 40px var(--clay-mint),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.clay-card--mint:hover {
  box-shadow:
    0 10px 0 0 var(--mint-light),
    0 20px 60px var(--clay-mint),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.clay-card--peach {
  box-shadow:
    0 5px 0 0 var(--peach-light),
    0 10px 40px var(--clay-peach),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Linked card */
a.clay-card { display: block; cursor: pointer; }

.clay-card h2, .clay-card h3 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: color var(--t-ease);
}

a.clay-card:hover h2,
a.clay-card:hover h3 { color: var(--pink-dark); }

.clay-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.card-read-more {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--pink-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--t-bounce);
}

.clay-card:hover .card-read-more { gap: 0.6rem; }

/* ========================
   CLAY BUTTON
   ======================== */
.clay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: transform var(--t-bounce), box-shadow var(--t-bounce);
  text-decoration: none;
  line-height: 1;
}

.clay-btn--pink {
  background: var(--pink);
  color: white;
  box-shadow:
    0 4px 0 var(--pink-dark),
    0 8px 24px var(--clay-pink);
}

.clay-btn--pink:hover {
  color: white;
  transform: translateY(-4px);
  box-shadow:
    0 8px 0 var(--pink-dark),
    0 16px 36px var(--clay-pink);
}

.clay-btn--pink:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 var(--pink-dark),
    0 4px 10px var(--clay-pink);
}

.clay-btn--lavender {
  background: var(--lavender);
  color: white;
  box-shadow:
    0 4px 0 var(--lavender-dark),
    0 8px 24px var(--clay-lavender);
}

.clay-btn--lavender:hover {
  color: white;
  transform: translateY(-4px);
  box-shadow:
    0 8px 0 var(--lavender-dark),
    0 16px 36px var(--clay-lavender);
}

.clay-btn--outline {
  background: var(--white);
  color: var(--pink-dark);
  border: 2.5px solid var(--pink-light);
  box-shadow:
    0 4px 0 var(--pink-light),
    0 8px 20px rgba(255, 145, 173, 0.15);
}

.clay-btn--outline:hover {
  color: var(--pink-dark);
  transform: translateY(-4px);
  box-shadow:
    0 8px 0 var(--pink-light),
    0 16px 30px rgba(255, 145, 173, 0.25);
  background: var(--pink-pale);
}

.clay-btn--sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

/* ========================
   CLAY BADGE
   ======================== */
.clay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.clay-badge--pink     { background: var(--pink-light);     color: #B04060; }
.clay-badge--lavender { background: var(--lavender-light); color: #6050A8; }
.clay-badge--mint     { background: var(--mint-light);     color: #2A7A50; }
.clay-badge--peach    { background: var(--peach-light);    color: #A04820; }
.clay-badge--sky      { background: var(--sky-light);      color: #2060A0; }
.clay-badge--yellow   { background: var(--yellow-light);   color: #806020; }

/* ========================
   VIDEO WRAPPER
   ======================== */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: var(--cream-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 8px 0 var(--pink-light),
    0 16px 60px var(--clay-pink),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 0.04em;
}

.video-caption .accent { color: var(--pink-dark); }

/* ========================
   HIGHLIGHT BOX (Article)
   ======================== */
.highlight-box {
  background: var(--pink-pale);
  border: 2px solid var(--pink-light);
  border-left: 5px solid var(--pink);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 4px 16px rgba(255, 145, 173, 0.12);
}

.highlight-box p {
  margin-bottom: 0;
  color: var(--text) !important;
  font-size: 0.95rem;
  line-height: 1.75;
}

.highlight-box--mint {
  background: #F0FFF8;
  border-color: var(--mint-light);
  border-left-color: var(--mint);
  box-shadow: 0 4px 16px rgba(114, 217, 168, 0.12);
}

.highlight-box--lavender {
  background: #F5F4FF;
  border-color: var(--lavender-light);
  border-left-color: var(--lavender);
  box-shadow: 0 4px 16px rgba(184, 170, 255, 0.12);
}

/* ========================
   TIMELINE ITEM (Article)
   ======================== */
.timeline-item {
  border-left: 3px solid var(--pink-light);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--pink);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--pink-light);
}

.timeline-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--pink-dark);
  display: block;
  margin-bottom: 0.3rem;
}

.timeline-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ========================
   FAQ SECTION (Article)
   ======================== */
.faq-section {
  margin-top: var(--s-xl);
  padding-top: var(--s-lg);
  border-top: 2px solid var(--pink-light);
}

.faq-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--s-md);
  color: var(--text);
}

.faq-item {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow:
    0 3px 0 var(--pink-light),
    0 6px 20px rgba(255, 145, 173, 0.1);
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.8;
}

/* ========================
   BREADCRUMB
   ======================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--s-lg);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.breadcrumb a { transition: color var(--t-ease); }
.breadcrumb a:hover { color: var(--pink-dark); }
.breadcrumb .sep { color: var(--pink-light); font-size: 1rem; }
.breadcrumb .current { color: var(--pink-dark); }

/* ========================
   CATEGORY PILL (Blog filter)
   ======================== */
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--white);
  color: var(--text-muted);
  border: 2px solid var(--pink-light);
  cursor: pointer;
  transition: all var(--t-bounce);
  box-shadow: 0 2px 0 var(--pink-light);
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--pink);
  color: white;
  border-color: var(--pink);
  box-shadow: 0 3px 0 var(--pink-dark), 0 6px 16px var(--clay-pink);
  transform: translateY(-2px);
}

/* ========================
   FOOTER
   ======================== */
.main-footer {
  background: var(--white);
  border-top: 2px solid var(--pink-light);
  padding: var(--s-xl) 0 var(--s-lg);
  margin-top: var(--s-xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-lg);
  margin-bottom: var(--s-lg);
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-brand .footer-logo .logo-accent { color: var(--pink); }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: var(--s-sm);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: color var(--t-ease);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.footer-col ul li a:hover { color: var(--pink-dark); }

.footer-bottom {
  border-top: 1px solid var(--pink-light);
  padding-top: var(--s-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-sm);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-light);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pink-pale);
  color: var(--pink-dark);
  font-size: 1rem;
  transition: all var(--t-bounce);
  box-shadow: 0 2px 0 var(--pink-light);
}

.footer-social a:hover {
  background: var(--pink);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 0 var(--pink-dark), 0 8px 16px var(--clay-pink);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-md);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ========================
   NEWSLETTER STRIP
   ======================== */
.newsletter-strip {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--lavender-light) 100%);
  border-radius: var(--r-xl);
  padding: 3rem var(--s-lg);
  text-align: center;
  box-shadow:
    0 8px 0 rgba(255, 145, 173, 0.3),
    0 16px 48px rgba(255, 145, 173, 0.2);
  position: relative;
  overflow: hidden;
}

.newsletter-strip::before,
.newsletter-strip::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}

.newsletter-strip::before {
  width: 200px;
  height: 200px;
  background: var(--pink);
  top: -80px;
  left: -60px;
  filter: blur(40px);
}

.newsletter-strip::after {
  width: 160px;
  height: 160px;
  background: var(--lavender);
  bottom: -60px;
  right: -40px;
  filter: blur(40px);
}

.newsletter-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.newsletter-strip p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: var(--s-md);
  position: relative;
  z-index: 1;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border: 2px solid var(--pink-light);
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  outline: none;
  box-shadow: 0 3px 0 var(--pink-light), inset 0 1px 0 rgba(255,255,255,0.95);
  transition: border-color var(--t-ease), box-shadow var(--t-ease);
}

.newsletter-form input::placeholder { color: var(--text-light); }

.newsletter-form input:focus {
  border-color: var(--pink);
  box-shadow: 0 3px 0 var(--pink-light), 0 0 0 3px rgba(255, 145, 173, 0.2), inset 0 1px 0 rgba(255,255,255,0.95);
}

@media (max-width: 520px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { width: 100%; }
}

/* ========================
   ARTICLE STYLES
   ======================== */
.article-wrap {
  max-width: 780px;
  margin-inline: auto;
  padding: 5rem 2rem 4rem;
}

.article-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin-bottom: 0.75rem;
}

.article-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

.article-meta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.article-meta .sep {
  width: 4px;
  height: 4px;
  background: var(--pink-light);
  border-radius: 50%;
  display: inline-block;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--pink);
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  margin: 1.75rem 0 0.75rem;
}

.article-content p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.article-content strong { color: var(--text); font-weight: 800; }

.article-content a {
  color: var(--pink-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover { color: var(--pink); }

.article-content ul,
.article-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article-content ol { list-style: decimal; }

.article-content li {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.4rem;
  padding-left: 0.25rem;
}

.related-articles {
  margin-top: var(--s-xl);
  padding-top: var(--s-lg);
  border-top: 2px solid var(--pink-light);
}

.related-articles h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--pink-dark);
  margin-bottom: var(--s-md);
  letter-spacing: 0.04em;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.related-list a {
  font-weight: 700;
  color: var(--pink-dark);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--t-bounce), color var(--t-ease);
}

.related-list a:hover {
  gap: 0.7rem;
  color: var(--lavender-dark);
}

@media (max-width: 768px) {
  .article-wrap { padding: 4.5rem 1.25rem 3rem; }
}
