/* ==========================================================================
   Vidaplusgt / Diet Shop — hoja de estilos
   Mobile-first. Breakpoints: 640px (tablet), 1000px (desktop)
   ========================================================================== */

:root {
  --cream: #f9f2e4;
  --cream-soft: #fffbf3;
  --tan: #f0e7d8;
  --tan-dark: #eed7b9;
  --coral: #f16449;
  --coral-dark: #ed5339;
  --maroon: #6e2a36;
  --maroon-dark: #5a2029;
  --green: #7fa73e;
  --green-dark: #6f9335;
  --black: #131313;
  --white: #ffffff;
  --font: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Nunito", var(--font);
  --container: 1180px;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--maroon);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.5;
}

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

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  margin: 0 0 1rem;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: var(--green-dark); }

.btn-maroon {
  background: var(--maroon);
  color: var(--white);
}
.btn-maroon:hover { background: var(--maroon-dark); }

.btn-outline {
  background: var(--tan);
  color: var(--coral-dark);
  font-weight: 800;
  margin-top: 2.5rem;
}
.btn-outline:hover { background: var(--tan-dark); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #ece3d4;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--coral);
  flex-shrink: 0;
}

.logo-icon { flex-shrink: 0; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0;
}
.site-nav.is-open { display: flex; }

.site-nav a {
  padding: 14px 0;
  border-top: 1px solid #ece3d4;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: .2px;
  color: var(--maroon);
}
.site-nav a:hover,
.site-nav a.active { color: var(--coral); }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }

  .site-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.4rem;
  }
  .site-nav a {
    padding: 0;
    border-top: none;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--cream); padding-top: 2.5rem; overflow: hidden; }

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.hero-copy h1 {
  color: var(--coral);
  font-size: 2rem;
  line-height: 1.2;
}

.circled { position: relative; white-space: nowrap; }
.circled::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: -18%;
  bottom: -10%;
  border: 3px solid var(--cream-soft);
  border-radius: 50% 50% 48% 52% / 55% 60% 40% 45%;
  transform: rotate(-2deg);
  pointer-events: none;
}

.hero-note {
  color: var(--maroon);
  font-weight: 700;
  margin-top: 1.4rem;
}

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.hero-badge {
  position: absolute;
  right: 6%;
  bottom: -6%;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
}

.hero-strip {
  text-align: center;
  color: var(--coral);
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--cream-soft);
  margin: 0;
  padding: 1.4rem 1rem;
}

@media (min-width: 1000px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    padding-bottom: 4rem;
  }
  .hero-copy { flex: 0 0 44%; }
  .hero-copy h1 { font-size: 2.75rem; }
  .hero-media { flex: 1; }
  .hero-badge { right: 4%; bottom: -4%; }
}

/* ==========================================================================
   Products
   ========================================================================== */
.products { padding: 3.5rem 0; text-align: center; }
.products h2 {
  color: var(--maroon);
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  text-align: left;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(110,42,54,.08);
}
.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
}
.product-media img { max-height: 280px; width: auto; margin: 0 auto; }

.product-name {
  margin: 0;
  padding: 1rem 1.5rem;
  background: var(--tan);
  color: var(--maroon);
  font-weight: 800;
  letter-spacing: .3px;
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.how-it-works {
  border-top: 1px solid #ece3d4;
  padding: 3.5rem 0;
}
.how-it-works h2 {
  text-align: center;
  color: var(--maroon);
  font-size: 1.4rem;
  max-width: 820px;
  margin: 0 auto 3rem;
}

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

.step img { height: 72px; width: auto; margin-bottom: 1.2rem; }
.step-logo { border-radius: 50%; }

.step h3 {
  color: var(--coral);
  font-size: 1.05rem;
  margin-bottom: .5rem;
}
.step h3 span { color: var(--coral); }

.step p { margin: 0; color: var(--maroon); }

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* ==========================================================================
   Video
   ========================================================================== */
.video-section { padding: 1rem 0 3.5rem; }
.video-section video {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { padding: 0 0 3.5rem; }
.cta-box {
  background: var(--coral);
  border-radius: 24px;
  padding: 3rem 2rem;
  color: var(--white);
}
.cta-box h2 { color: var(--white); font-size: 1.5rem; max-width: 560px; }
.cta-quote { font-style: italic; max-width: 480px; margin: 0 0 1.6rem; }
.cta-signature {
  font-family: "Brush Script MT", cursive;
  font-size: 1.8rem;
  margin: 0 0 1.6rem;
}

@media (min-width: 1000px) {
  .cta-box { padding: 4rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--black); color: #e8e0d4; padding: 3.5rem 0 2.5rem; }

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

.site-footer .logo { color: var(--coral); margin-bottom: 1rem; }
.footer-brand p { color: #b8afa1; max-width: 340px; }

.social-icons { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social-icons a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid #4a4440;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.social-icons a:hover { background: var(--coral); border-color: var(--coral); }

.footer-sitemap h3 { color: #d7a9a0; font-weight: 700; font-size: .9rem; margin-bottom: 1rem; }
.footer-sitemap a {
  display: block;
  color: var(--coral);
  padding: .4rem 0;
  font-size: .85rem;
}
.footer-sitemap a:hover { color: var(--cream); }

.footer-fuxion { display: flex; align-items: center; }
.footer-fuxion img { max-width: 220px; }

@media (min-width: 1000px) {
  .footer-inner { grid-template-columns: 1.1fr 1fr 1fr; }
}

/* ==========================================================================
   Conocenos / About
   ========================================================================== */
.about-hero {
  display: flex;
  flex-direction: column;
}

.about-hero-copy {
  background: var(--tan-dark);
  padding: 3rem 20px;
}
.about-hero-copy h1 {
  color: #3b7a34;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}
.about-hero-copy p {
  color: #2b2b2b;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 520px;
}

.about-hero-media {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background: radial-gradient(circle at 30% 20%, #9ccb6e, transparent 60%),
              linear-gradient(135deg, #cfe3a6 0%, #8cbf52 55%, #5a9a3a 100%);
  overflow: hidden;
}
.about-hero-media img {
  position: relative;
  z-index: 1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

@media (min-width: 1000px) {
  .about-hero { flex-direction: row; min-height: 480px; }
  .about-hero-copy { flex: 0 0 48%; display: flex; flex-direction: column; justify-content: center; padding: 3rem 5vw; }
  .about-hero-media { flex: 1; min-height: 480px; padding: 3rem; }
  .about-hero-media img { width: 340px; height: 340px; }
}

.about-section { padding: 3.5rem 0; }
.about-block h2 {
  color: var(--coral);
  font-size: 1.6rem;
  margin-top: 3rem;
}
.about-block h2:first-child { margin-top: 0; }
.about-block p {
  color: var(--coral-dark);
  font-weight: 700;
  line-height: 1.7;
  max-width: 900px;
}

.store-badge {
  display: block;
  width: 180px;
  margin: 2rem 0;
}

.about-fuxion-logo {
  display: flex;
  justify-content: center;
  padding: 2.5rem 0;
}
.about-fuxion-logo img { max-width: 260px; }

@media (min-width: 1000px) {
  .store-badge { float: right; margin: 0 0 1rem 2rem; }
}

.about-service {
  padding: 3.5rem 0 4.5rem;
  text-align: center;
  border-top: 1px solid #ece3d4;
}
.about-service h2 { color: var(--coral); font-size: 1.6rem; }
.service-check { margin: 1.5rem 0; }
.about-service p {
  color: var(--coral-dark);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}
.about-service .stars {
  color: var(--green);
  font-size: 1.6rem;
  letter-spacing: .5rem;
  margin-top: 2rem;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.page-banner {
  background: var(--tan-dark);
  text-align: center;
  padding: 3.5rem 20px;
}
.page-banner h1 { color: var(--coral); font-size: 2.6rem; margin-bottom: .5rem; }
.breadcrumb { margin: 0; color: var(--coral); font-weight: 700; font-size: .9rem; }
.breadcrumb a { color: var(--coral); opacity: .75; }
.breadcrumb a:hover { opacity: 1; }

.blog-featured {
  display: grid;
  grid-template-columns: 1fr;
}
.blog-featured-text {
  background: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-text h2 { color: var(--coral); font-size: 1.6rem; }
.blog-featured-text p { color: var(--coral-dark); font-weight: 700; line-height: 1.7; margin: 0; }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

@media (min-width: 1000px) {
  .blog-featured { grid-template-columns: 1fr 1fr; }
  .blog-featured-text { padding: 3rem 4vw; }
  .blog-featured-media img { aspect-ratio: auto; min-height: 100%; }
}

.blog-list { padding: 3rem 0 4rem; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.post-card { background: var(--white); }
.post-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card h3 {
  color: var(--maroon);
  font-size: 1.15rem;
  padding: 1.2rem 1.2rem 0;
  margin: 0 0 .7rem;
}
.post-card > h3 { padding-top: 1.2rem; }
.post-card p {
  color: #4a4440;
  font-weight: 400;
  line-height: 1.6;
  padding: 0 1.2rem;
  margin: 0 0 1rem;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ece3d4;
  padding: .9rem 1.2rem;
  font-size: .85rem;
  color: #8a8178;
}
.post-likes, .post-comments {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
}
.post-comments { color: #8a8178; }
.post-meta-right { display: inline-flex; align-items: center; gap: 1rem; }
.read-more { color: var(--coral); font-weight: 700; }
.read-more:hover { text-decoration: underline; }

@media (min-width: 640px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Shop / Category pages
   ========================================================================== */
.shop-page {
  padding: 3rem 0 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.shop-sidebar h3 { color: var(--maroon); font-size: 1rem; margin-bottom: 1rem; }
.shop-sidebar nav { display: flex; flex-direction: column; }
.shop-sidebar a {
  padding: .5rem 0;
  color: var(--maroon);
  font-weight: 600;
  font-size: .95rem;
}
.shop-sidebar a:hover,
.shop-sidebar a.active { color: var(--coral); }

.shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

.shop-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(110,42,54,.08);
}
.shop-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 220px;
}
.shop-card-media img { max-height: 240px; width: auto; margin: 0 auto; }

.sold-out {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--maroon);
  color: var(--maroon);
  background: rgba(255,255,255,.85);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.shop-card.is-sold-out .shop-card-media img { opacity: .35; }

.shop-card-info {
  padding: 1rem 1.2rem;
  background: var(--tan);
}
.shop-card-info .name {
  margin: 0;
  color: var(--maroon);
  font-weight: 800;
  letter-spacing: .3px;
}
.shop-card-info .price {
  margin: .2rem 0 0;
  color: #8a9a4f;
  font-weight: 600;
  font-size: .95rem;
}

@media (min-width: 640px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .shop-page { flex-direction: row; align-items: flex-start; gap: 3rem; }
  .shop-sidebar { flex: 0 0 220px; }
  .shop-grid { flex: 1; grid-template-columns: repeat(3, 1fr); }
}
